home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / standards / CCITT / 1992 / X / x435_2.asc < prev    next >
Encoding:
Text File  |  1993-07-15  |  326.9 KB  |  5,622 lines

  1.           6.    Information Objects
  2.                The information objects that users exchange in EDI messaging  are  of
  3.           two kinds: EDI           (abEDIM),   and   EDI   notifications
  4.           (abEDIN  
  5.                          The      glEDI      messaging      system       user
  6. (abEDIMG      user)      is      normally       an       glEDI
  7. application   or   computer    process,    not    a    person.
  8. For brevity, the term  gluser  is  used  throughout  the  rest
  9. of this Recommendation with the meaning of EDIMG user.
  10.                               tyInformationObject ::= CHOICE {
  11.                edim                  [0] EDIM,
  12.                edin                  [1] EDIN }
  13.                7.    Common data types
  14.                Information items of several kinds appears both in EDI  messages  and
  15.           EDI notifications. These common items are defined below. 
  16.           7.1   EDIM Identifier
  17.                An g         Identifier     is     an     information     item
  18.                that unambiguously, globally and forever  uniquely  identifies
  19.                an EDIM.
  20.                It comprises an OR Name and a string which may for example contain  a
  21.           time or sequence number or other sufficient information to make  this  EDIM
  22.           unique.
  23.                               tyEDIMIdentifier ::= SET {
  24.                user                  [0] ORName,
  25.                user-relative-identifier    [1] LocalReference }
  26.                          NOTE - OR Name is defined in 8.5.5 of Recommendation X.411.
  27.           The EDIM Identifier shares the same value set with the IPM Identifier
  28.           defined in Recommendation  X.420.  Therefore  an  EDI  user  agent  or  EDI
  29.           message store that is capable of handling both IPM and EDIM shall make sure
  30.           that the Local Reference is unique both for IPMs and EDIMs.
  31.           An EDIM Identifier has the following components:
  32.           a)  otUser: Identifies   e  user  who  originates  the
  33. EDIM. One of the user's OR Names.
  34.           b)                         otUser-relative-identifier:
  35. Unambiguously identifies the EDIM,  distinguishing  it
  36. from all other EDIMs that the user who  is  identified
  37. by the User component originates. A  Printable  String
  38. of from zero to a prescribed number of characters (see
  39. annex G). A length of zero is discouraged.
  40.           (SI 
  41.                  (SIZE (0..ub-local-reference))
  42.           .D.
  43.           7.2   Extensions
  44.                A mechanism is provided which allows for future extensions to this 
  45.           Recommendation. 
  46.                .D.X435B.DOC,c004
  47.                c004 tyExtensionFieldty:ExtensionField ::= SEQUENCE {
  48.                type                  [0] EDIM-EXTENSION,
  49.                criticality           [1] Criticality DEFAULT FALSE,
  50.                value                 [2] ANY DEFINED BY type DEFAULT 
  51.                NULL NULL }
  52.  
  53.           .D.
  54.                An Extension field can be marked critical (Criticality set to TRUE) 
  55.           or non-critical (Criticality set to FALSE) for  acceptance  of
  56.           Responsibility. An extension marked as non-critical for Responsibility may 
  57.           be ignored or discarded, while an extension marked as critical must be 
  58.           known and performed for acceptance of Responsibility of an EDIM.
  59.                NOTE - The term glEDIM Responsibilitygl:EDIM Responsibility is 
  60.           defined  in  3.5  of  Recommendation  F.435.  Throughout  this
  61.           document, the term "glResponsibilitygl:Responsibility" refers to 
  62.           the term defined in  Recommendation  F.435,  and  not  to  the
  63.           everyday use of the word.
  64.                .D.X435B.DOC,c005
  65.                c005 tyCriticalityty:Criticality ::= BOOLEAN
  66.           .D.
  67.                As a notation support for future definitions of extensions, a MACRO 
  68.           is defined.
  69.                .D.X435B.DOC,c006
  70.                c006 maEDIM-EXTENSIONma:EDIM-EXTENSION MACRO ::=
  71.                BEGIN
  72.  
  73.                TYPE NOTATION         ::= DataType Critical | empty
  74.                VALUE NOTATION        ::= value(VALUE OBJECT IDENTIFIER)
  75.  
  76.                DataType              ::= type (X) Default | empty
  77.                Default               ::= "DEFAULT" value (X) | empty
  78.                Critical              ::= "CRITICAL" | empty
  79.  
  80.                END -- of extension
  81.           .D.
  82.           8.    EDI Messages
  83.                An glEDI Messagegl:EDI Message (abEDIMab:EDIM) is a member of 
  84.           the primary class  of  information  objects  conveyed  between
  85.           users in EDI Messaging.
  86.                NOTE 1 - The term glmessagegl:message when used throughout the 
  87.                   rest of this Recommendation is a synonym for EDI Message.
  88.                   .D.X435B.DOC,c007
  89.                   c007 tyEDIMty:EDIM ::= SEQUENCE {
  90.                   heading               Heading,
  91.                   body                  Body }
  92.             .D.
  93.                   An EDI Message consists of the following components:
  94.                   a)  Heading: a set of Heading Fields (or Fields), each an information
  95.                      item that gives a characteristic of the EDI Message.
  96.                   b)  Body: a sequence of one or more body parts
  97.                                     tyBody ::= SEQUENCE {
  98.                   primary-body-part     PrimaryBodyPart,
  99.                   additional-body-parts OtherBodyParts OPTIONAL }
  100.                   tyPrimaryBodyPart ::= CHOICE {
  101.                   edi-body-part         [0] EDIBodyPart,
  102.                   forwarded-EDIM        [1] EDIMBodyPart }
  103.                   tyOtherBodyParts ::= SEQUENCE OF EDIM- 
  104.             ExternallyDefinedBodyPart
  105.                               NOTE 2 - EDIM-Externally Defined Body Part is defined in .
  106.             The Body has one Primary Body Part that contains an  EDI  information
  107.             object. This body part is either an EDI interchange itself or  a  forwarded
  108.             EDIM.   Examples   of   types    of    EDI    information    objects    are
  109.             gl      Interchanges      defined      by      ISO       9735,
  110.             Electronic data interchange for administration,  commerce  and
  111.             transport  (abEDIFACT),   by   United   Nations   Trade   Data
  112. Interchange (abUNTDI            )      and      by      American      National       Standards
  113.             Institute committee X12 (abANSIX12).
  114.                   NOTE 3 - The scope of an EDI information object type is rather  large
  115.             and includes for example Privately Defined types.  For  brevity,  the  term
  116.             glinterchange  s   used   throughout   the   rest   of    this
  117.             Recommendation with the meaning of EDI Interchange.
  118.                   The following rules comply with the requirements  stated  in  7.4  of
  119.             Recommendation F.435:
  120.                   c)  When an EDIM is  first  created,  the  Primary  Body  Part  shall
  121.                      contain one EDI Body Part.
  122.                   d)  When an EDIM is forwarded, its structure shall  comply  with  the
  123.                      rules given in .
  124.                   The Primary Body Part has one of two basic forms:
  125.                   -   the Primary Body Part contains an EDI information object
  126.                   -   the Primary Body Part contains a forwarded EDI Message. 
  127.                   Additionally, other body parts may be present in a message related to
  128.             the Primary Body Part but of a different type.  Examples  of  related  body
  129.             parts might be textual information, voice annotation or graphics to be used
  130.             in conjunction with the interchange.
  131.                   The structure of an EDI Message is depicted in Figure .
  132.                       import F1.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  133.                                               FIGURE 
  134.                                    EDI Message Structure
  135.             8.1   Heading Field Component Types
  136.                   Information items of several kinds  appear  throughout  the  Heading.
  137.             These common items are defined below.
  138.                   In the text that follows, reference is made to EDIFACT  segments  and
  139.             data elements. Annex K to this Recommendation explains this in relation  to
  140.             UNTDI and ANSIX12. Values copied from EDI data elements and represented  as
  141.             T.61 Strings are semantically equivalent to the characters used to form the
  142.             EDI data elements in EDIFACT, UNTDI and ANSIX12.
  143.             8.1.1 Interchange Recipient / Sender
  144.                   The Interchange Recipient and Interchange  Sender  fields  have  some
  145.             data types in common. They are defined below.
  146.             8.1.1.1     Identification Code
  147.                   The  Identification  Code  identifies  a   sender/recipient   of   an
  148.             interchange.   This   is   semantically   identical    to    the    "Sender
  149.             identification/recipient identification code" component of the  Interchange
  150.             sender/recipient of the EDIFACT UNB segment.
  151.                                     tyIdentificationCode ::= 
  152.                     T61String (SIZE (1..ub-identification-code))
  153.                               8.1.1.2     Identification Code Qualifier
  154.                   The Identification Code Qualifier, if present, is a qualifier to  the
  155.             Identification Code of a sender/recipient. This is  semantically  identical
  156.             to  the  "Identification  code  qualifier"  component  of  the  Interchange
  157.             sender/recipient of the EDIFACT UNB segment.
  158.                               tyIdentificationCodeQualifier ::= T61String (SIZE (1..ub-identification-code- 
  159.                qualifier))
  160.                          8.1.1.3     Routing Address
  161.                The Routing Address, if present, is an address  for  routing  to  the
  162.           sender/recipient specified in the Identification Code. This is semantically
  163.           identical to the "Address for reverse routing / Routing address"  component
  164.           of the Interchange sender/recipient of the EDIFACT UNB segment.
  165.                               tyRoutingAddress ::= T61String 
  166.                   (SIZE (1..ub-routing-address))
  167.                8.2   Heading Fields
  168.                The fields that may appear in the Heading of an EDIM are defined  and
  169.           described below.
  170.                               tyHeading ::= SEQUENCE {
  171.                this-EDIM             [1] ThisEDIMField,
  172.                originator            [2] OriginatorField OPTIONAL,
  173.                recipients            [3] RecipientsField OPTIONAL,
  174.                edin-receiver         [4] EDINReceiverField OPTIONAL,
  175.                responsibility-forwarded    [5] ResponsibilityForwarded 
  176.                DEFAULT FALSE,
  177.                edi-bodypart-type     [6] EDIBodypartType DEFAULT {id- 
  178.                edifact-ISO646},
  179.                incomplete-copy       [7] IncompleteCopyField DEFAULT 
  180.                FALSE,
  181.                expiry-time           [8] ExpiryTimeField OPTIONAL,
  182.                related-messages      [9] RelatedMessagesField OPTIONAL,
  183.                obsoleted-EDIMs       [10] ObsoletedEDIMsField OPTIONAL, 
  184.                edi-application-security-elements     [11] 
  185.                EDIApplicationSecurityElementsField OPTIONAL
  186.                cross-referencing-information    [12] 
  187.                CrossReferencingInformationField OPTIONAL,
  188.  
  189.                -- Begin Fields from EDIFACT Interchange
  190.                edi-message-type      [13] EDIMessageTypeField OPTIONAL,
  191.                service-string-advice [14] ServiceStringAdviceField 
  192.                OPTIONAL,
  193.                syntax-identifier     [15] SyntaxIdentifierField 
  194.                OPTIONAL,
  195.                interchange-sender    [16] InterchangeSenderField 
  196.                OPTIONAL,
  197.                date-and-time-of-preparation     [17] 
  198.                DateAndTimeOfPreparationField OPTIONAL,
  199.                application-reference [18] ApplicationReferenceField 
  200.                OPTIONAL,
  201.                -- End Fields from EDIFACT
  202.  
  203.                heading-extensions    [19] HeadingExtensionsField 
  204.                OPTIONAL }
  205.                          NOTE - The names of the Heading  fields  derived  from  EDI  standards  are
  206.           taken directly from the relevant standards.  See also Annex K.
  207.           8.2.1 This EDIM
  208.                The This EDIM  field  identifies  the  EDIM.  It  comprises  an  EDIM
  209.           Identifier which provides a globally and forever unique identification  for
  210.           the EDIM. 
  211.                               tyThisEDIMField ::= EDIMIdentifier
  212.           NOTE - EDIM Identifier is defined in .
  213.           8.2.2 Originator
  214.                Identifies the EDIM's originator. It comprises an  OR  Name.  If  the
  215.           Originator field is not present in the EDIM Heading on reception, then  the
  216.           Originating-name of the delivery envelope shall be used  to  determine  the
  217.           originator of the EDIM (see 8.2.1.1.1.1 of Recommendation X.411).
  218.                               tyOriginatorField ::= ORName
  219.                          NOTE - OR Name is defined in 8.5.5 of Recommendation X.411.
  220.           8.2.3 Recipients
  221.                The  Recipients  field  identifies  the  user(s)   and   distribution
  222.           lists(abDL) who   e  the  (preferred)  recipient(s)   of   the
  223.           EDIM. It comprises a set of Recipients subfields, one for each
  224.           recipient.  If the Recipients field is not present in the EDIM
  225.           Heading on reception,  then  the  This-recipient-name  of  the
  226.           delivery envelope shall be used to determine the recipient  of
  227.           the EDIM (see 8.3.1.1.1.3 of Recommendation X.411).
  228.                NOTE - The fact that a message can  be  redirected  or  forwarded  is
  229.           reflected in the word "preferred" above.
  230.                                 tyRecipientsField ::= SET OF 
  231.           RecipientsSubField
  232.             The  Recipients  subfield  is  an  information  item  that   identifies   a
  233.             recipient of an EDIM and that may make certain requests of him.
  234.                                     tyRecipientsSubField ::= 
  235.             SEQUENCE {
  236.                   recipient             [1] RecipientField,
  237.                   action-request        [2] ActionRequestField DEFAULT {id- 
  238.                   for-action},
  239.                   edi-notification-requests-field  [3] 
  240.                   EDINotificationRequestsField OPTIONAL,
  241.                   responsibility-passing-allowed   [4] 
  242.                   ResponsibilityPassingAllowedField DEFAULT FALSE,
  243.  
  244.                   -- Begin Fields from EDIFACT UNB
  245.                   interchange-recipient [5] InterchangeRecipientField 
  246.                   OPTIONAL,
  247.                   recipient-reference   [6] RecipientReferenceField 
  248.                   OPTIONAL,
  249.                   interchange-control-reference    [7] 
  250.                   InterchangeControlReferenceField OPTIONAL,
  251.                   processing-priority-code    [8] 
  252.                   ProcessingPriorityCodeField OPTIONAL,
  253.                   acknowledgement-request     [9] 
  254.                   AcknowledgementRequestField DEFAULT FALSE,
  255.                   communications-agreement-id [10] 
  256.                   CommunicationsAgreementIdField OPTIONAL,
  257.                   test-indicator        [11] TestIndicatorField DEFAULT 
  258.                   FALSE,
  259.                   -- End Fields from EDIFACT UNB
  260.  
  261.                   -- Begin Fields from ANSIX12 ISA
  262.                   authorization-information   [12] 
  263.                   AuthorizationInformationField OPTIONAL,
  264.                   -- End Fields from ANSIX12 ISA
  265.  
  266.                   recipient-extensions  [13] RecipientExtensionsField 
  267.                   OPTIONAL }
  268.                               The Recipients subfield has the following components:
  269.             8.2.3.1     Recipient
  270.                   i 
  271.             in question. It comprises an OR Name.
  272.                   .D.X435B.DOC,c017
  273.                   c017 tyRecipientFieldty:RecipientField ::= ORName
  274.             .D.
  275.                   NOTE - OR Name is defined in 8.5.5 of Recommendation X.411.
  276.             8.2.3.2     Action Request
  277.                   An  otAction  Requestot:Action  Request  indicates  what  action  the
  278.             originator  requests  from  the  recipient.  Its   value   is   an   object
  279.             identifier.
  280.                   .D.X435B.DOC,c018
  281.                   c018 tyActionRequestFieldty:ActionRequestField ::= OBJECT 
  282.                   IDENTIFIER
  283.             .D.
  284.                   The following standard values have object identifiers defined in this
  285.             Recommendation:
  286.                   -   For Action
  287.                   -   Copy
  288.                   The absence of this field shall be interpreted as having the  default
  289.             value set to For Action.
  290.                   NOTE - Additional values  for  this  field  can  be  defined  by  any
  291.             interested parties.
  292.             8.2.3.3     EDI Notification Requests
  293.                   The     otEDI      Notification      Requestsot:EDI      Notification
  294.             Requests   component   (Default:   no   notifications,   no    notification
  295.             security  and  no   reception   security)   may   make   certain   requests
  296.             of the preferred recipient denoted by the Recipient field.
  297.                   NOTE - The fact that a message can  be  redirected  or  forwarded  is
  298.             reflected in the word "preferred" above.
  299.                   .D.X435B.DOC,c019
  300.                   c019 
  301.                   tyEDINotificationRequestsFieldty:EDINotificationRequests 
  302.                   Field ::= SEQUENCE {
  303.                   edi-notification-requests    [0] EDINotificationRequests 
  304.                   DEFAULT {},
  305.                   edi-notification-security    [1] EDINotificationSecurity 
  306.                   DEFAULT {},
  307.                   edi-reception-security  [2] EDIReceptionSecurity DEFAULT 
  308.                   {} }
  309.                   tyEDINotificationRequeststy:EDINotificationRequests ::= 
  310.                   BIT STRING { 
  311.                   pn                        (0), 
  312.                   nn                        (1), 
  313.                   fn                        (2) }(SIZE (0..ub-bit-options))
  314.                   tyEDINotificationSecurityty:EDINotificationSecurity ::= 
  315.                     BIT STRING { 
  316.                   proof (0), 
  317.                     non-repudiation (1) } (SIZE (0..ub-bit-options))
  318.                   tyEDIReceptionSecurity ::= BIT 
  319.                   STRING {
  320.                   proof (0), 
  321.                   non-repudiation (1) }(SIZE (0..ub-bit-options))
  322.                               The EDI Notification  Requests  field  consists  of  a  sequence  of  three
  323.             bit strings of which the first selects the type of notification, the second
  324.             selects what security function should be applied to that notification,  and
  325.             the third may make certain security requests for proof  or  non-repudiation
  326.             of reception of this EDIM by the recipient.  EDI Notification Security  and
  327.             EDI Reception Security shall not be requested if EDI Notifications are  not
  328.             requested.
  329.             The EDI Notification Requests  bit  string  may  assume  any  of  the
  330.             following values simultaneously:
  331.             a)  PN: A notification of acceptance of Responsibility  is  requested
  332.                      in the circumstances prescribed in .
  333.             b)  NN: A notification of refusal of Responsibility of a  message  is
  334.                      requested in the circumstances prescribed in .
  335.             c)  FN: A forwarded notification is requested  in  the  circumstances
  336.                      prescribed in .
  337.             The absence of the EDI Notification Requests bit string implies  that
  338.             no EDI Notification requests are made.
  339.             The EDI Notification Security  bit  string  may  assume  any  of  the
  340.             following values simultaneously:
  341.             d)    proof:   When    submitting    the    EDIN    to    the    MTS,
  342.                      content-integrity-check    shall    be    requested    in     the
  343.                      Message-submission-argument  as  defined   in   8.2.1.1.1.28   in
  344.                      Recommendation X.411.
  345.             e)   non-repudiation:  When  submitting  the   EDIN   to   the   MTS,
  346.                      content-integrity-check    shall    be    requested    in     the
  347.                      Message-submission-argument  as  defined   in   8.2.1.1.1.28   in
  348.                      Recommendation X.411 with a non-repudiable certificate.
  349.             The absence of the EDI Notification Security bit string implies  that
  350.             no EDI Notification Security requests are made.
  351.             The EDI Reception Security bit string may assume any of the following
  352.             values simultaneously:
  353.             message 
  354.                      message-origin-authentication-check (depending  on  the  security
  355.                      policy in force) in the Message-submission-argument as defined in
  356.                      8.2.1.1.1.26, 28 and 29 of Recommendation X.411.
  357.             g)  non-repudiation: When submitting the ED N  to  the  MTS,  a  non-
  358.                      repudiable  content-integrity-check  (possibly  in  the   message
  359.                      token) or a message-origin-authentication-check (depending on the
  360.                      security policy in force) shall  be  requested.   A  notification
  361.                      shall contain the  security  elements  and  shall  be  signed  on
  362.                      submission to the MT ,  using  non-repudiable  content-integrity-
  363.                      check (possib y  in  the  message   token)   or   message-origin-
  364.                      authentication-check (depending on the security policy in  force)
  365.                      in the Message-submission-argument as defined in 8.2.1.1.1.26, 28
  366.                      and 29 of Recommendation X.411 .
  367.             The absence of the EDI Reception Security field implies that  no  EDI
  368.             Reception Security requests are made.
  369.             NOTE - Security services are  available  only  if  the  MTA  supports
  370.             secure messaging.
  371.             8.2.3.4     Responsibility Passing Allowed
  372.                   The Responsibility Passing Allowed field  indicates  that  forwarding
  373.             Responsibility is allowed if this field is set to  TRUE.   Absence  of  the
  374.             field shall be interpreted as the value FALSE.
  375.                   A recipient of a message  with  the  Responsibility  Passing  Allowed
  376.             field set to FALSE shall originate  EDIN's  as  requested,  and  shall  not
  377.             forward Responsibility.
  378.                   .D.X435B.DOC,c029
  379.                   c029 
  380.                   tyResponsibilityPassingAllowedFieldty:ResponsibilityPass 
  381.                   ingAllowedField ::= BOOLEAN -- Default FALSE
  382.           .D.
  383.                If allowed, Responsibility may be forwarded to at most one recipient.
  384.           8.2.3.5     Interchange Recipient
  385.                The otInterchange Recipientot:Interchange  Recipient  identifies  the
  386.           EDI   Interchange   recipient.   This   is   semantically   identical    to
  387.           the "Interchange recipient" of the EDIFACT UNB segment.
  388.                .D.X435B.DOC,c021
  389.                c021 
  390.                tyInterchangeRecipientFieldty:InterchangeRecipientField 
  391.                ::= SEQUENCE {
  392.                recipient-identification-code     [0] 
  393.                IdentificationCode,
  394.                identification-code-qualifier     [1] 
  395.                IdentificationCodeQualifier OPTIONAL,
  396.                routing-address         [2] RoutingAddress OPTIONAL }
  397.                          NOTE - The above fields are defined in .
  398.           8.2.3.6     Recipient Referenc 
  399.                       otRecipient        Reference        identifies        a
  400.                reference meaningful to the recipient's EDI application.  This
  401.                is  semantically  identical  to  the  "Recipient's  Reference,
  402.                Password" of the EDIFACT  UNB  segment.  It  consists  of  two
  403.                strings.
  404.                               tyRecipientReferenceField 
  405.                   ::= SEQUENCE {
  406.                recipient-reference   [0] RecipientReference,
  407.                recipient-reference-qualifier    [1] 
  408.                RecipientReferenceQualifier OPTIONAL }
  409.                tyRecipientReference ::= T61String 
  410.           (SIZE (1..ub-recipient-reference))
  411.                               tyRecipientReferenceQualifier ::=  T61String (SIZE (1..ub-recipient-reference- 
  412.           qualifier))
  413.                   8.2.3.7     Interchange Control Reference
  414.                   Indicates the  Interchange  Control  Reference  as  assigned  by  the
  415.             Interchange sender. This is  semantically  identical  to  the  "Interchange
  416.             control reference" of the EDIFACT UNB segment.
  417.                                                                         tyInterchangeControlReferenceField ::= T61String (SIZE (1..ub-interchange- 
  418.             control-reference))
  419.                               8.2.3.8     Processing Priority Code
  420.                   Indicates the EDI  application  Processing  Priority  Code.  This  is
  421.             semantically identical to the "Processing priority code" in the EDIFACT UNB
  422.             segment. It consists of a string.
  423.                               tyProcessingPriorityCodeField ::= T61String (SIZE (1..ub-processing-priority- 
  424.                code))
  425.                          8.2.3.9     Acknowledgement Request
  426.                The  Acknowledgement  Request   indicates   the   request   for   EDI
  427.           acknowledgement  as  indicated  by  the   interchange   sender.   This   is
  428.           semantically identical to the "Acknowledgement request" in the EDIFACT  UNB
  429.           segment. Its value is a Boolean, where the value TRUE indicates  a  request
  430.           for acknowledgement. Absence of this field  shall  be  interpreted  as  the
  431.           value FALSE.
  432. tyAcknowledgementRequestField                ::= BOOLEAN -- default FALSE
  433.                          8.2.3.10    Communications Agreement Id
  434.                The Communications Agreement Id indicates the type of  Communications
  435.           Agreement controlling the interchange, e.g.  Customs  or  other  agreement.
  436.           This is semantically identical to the "Communications agreement id" in  the
  437.           EDIFACT UNB segment.
  438.                                                             tyCommunicationsAgreementIdField ::= T61String (SIZE (1..ub-communications- 
  439.                   agreement-id))
  440. 8.2.3.11    Test Indicator
  441.                Indicates that the EDI Interchange is a test.  This  is  semantically
  442.           identical to the "Test indicator" in the  EDIFACT  UNB  segment.  It  is  a
  443.           Boolean where the value TRUE indicates that the EDI Interchange is a  test.
  444.           Absence of this field shall be interpreted as the value FALSE.
  445.                tyTestIndicatorField ::= 
  446.                BOOLEAN  -- default FALSE
  447.                          8.2.3.12    Authorization Information
  448.                The  Authorization   Information   indicates   who   authorized   the
  449.           interchange.  This  is  semantically  identical   to   the   "Authorization
  450.           information" in the ANSIX12 Interchange.
  451.                                                             tyAuthorizationInformationField ::= SEQUENCE {
  452.                authorization-information   [0] 
  453.                AuthorizationInformation,
  454.                authorization-information-qualifier   [1] 
  455.                AuthorizationInformationQualifier OPTIONAL }
  456. tyAuthorizationInformation                  ::= 
  457.                  T61String (SIZE (1..ub-authorization-information))
  458.                               tyAuthorizationInformationQualifier ::= T61String (SIZE (1..ub-authorization- 
  459.                information-qualifier))
  460.                          NOTE - In the  above  text  reference  is  made  to  ANSIX12  segments  and
  461.           data elements. Annex K to this Recommendation explains this in relation  to
  462.           UNTDI and EDIFACT (ISO 9735), being the other two widely used syntaxes.
  463.           8.2.3.13    Recipient Extensions
  464.                The Rec        otExtensions     contains     extensions     to
  465.                the Recipients subfield.
  466.                                              tyRecipientExtensionsField 
  467.                ::= SET OF RecipientExtensionsSubField
  468. tyRecipientExtensionsSubField                  ::= ExtensionField
  469.                          There are no extensions defined in this Recommendation.
  470.           8.2.4 EDIN Receiver
  471.                Identifies the recipient to whom  EDINs  are  to  be  sent.  This  is
  472.           created by the originator of the EDIM when the  Recipient  of  a  requested
  473.           notification is different from the Originator of the message.  It  consists
  474.           of a sequence of OR Name, EDIM Identifier and First Recipient.
  475.                This field shall not be present if EDI Notification Requests are  not
  476.           made.
  477.                This  field  shall  be  present  in  a  forwarded  message  when  the
  478.           forwarding EDI user agent; (abED           I  message   store;
  479.           (abEDI-MS)  forwards  Responsibility.  This   field   may   be
  480.           present when the  forwarding  EDI-UA  accepts  Responsibility.
  481.           Rules related to the construction of this field are given in .
  482.                NOTE 1 - For brevity, the               t   (abUA)   is   used
  483.                  throughout the rest of this Recommendation with the meaning of
  484.                  EDI-UA,  and  the  term   message   store   (abMS)   is   used
  485.                  throughout the rest of this Recommendation with the meaning of
  486.                  EDI-MS.
  487. tyEDINReceiverField                       ::= SEQUENCE 
  488.                       {
  489.                       edin-receiver-name    [0] ORName,
  490.                       original-edim-identifier    [1] EDIMIdentifier 
  491.                       OPTIONAL,
  492.                       first-recipient       [2] FirstRecipientField OPTIONAL}
  493.                                      The  "first-recipient"  field  shall  not  be  present  if  more  than  one
  494.                recipient contains EDI Notification Requests.
  495.                The "original-edim-identifier" and the "first-recipient" fields shall
  496.                not be present when the Primary Body Part is an EDI  Body  Part  (that  is,
  497.                when the original originator first creates the EDIM).
  498.                NOTE 2 - The Original EDIM Identifier and First Recipient fields  are
  499.                included in order to allow the  recipient  to  construct  the  EDIN  for  a
  500.                forwarded EDIM.  See  (more specifically ) and  for rules  related  to  the
  501.                construction of an EDIN;  see  for rules related  to  the  First  Recipient
  502.                field when constructing a forwarded EDIM.  OR Name is defined in  8.5.5  of
  503.                Recommendation X.411.  First Recipient Field is defined in .
  504.                8.2.5 Responsibility Forwarded
  505.                       The Responsibility  Forwarded  field  is  used  to  indicate  whether
  506.                Responsibility was forwarded. Absence of this field shall be interpreted as
  507.                the value FALSE.
  508.                                             tyResponsibilityForwarded ::= 
  509.                       BOOLEAN -- Default False
  510.                                      If this field has the value TRUE  it  indicates  to  a  receiving  UA  that
  511.                Responsibility was forwarded.  If this field has the  value  FALSE  (or  is
  512.                absent) it indicates to a receiving UA that the security  elements  of  the
  513.                inner envelope have been checked.
  514.                hav 
  515.                have  been  checked  when  the  message  was  forwarded.    However,   when
  516.                Responsibility is accepted, the security elements shall be checked.
  517.                NOTE - Rules regarding the use of this field are contained in  and .
  518.                8.2.6 EDI Body Part Type
  519.                       Indicates the EDI standard and EDI character sets used in the Primary
  520.                Body Part. It is represented by a single object identifier.
  521.                       NOTE 1 - This object identifier implements  the  element  of  service
  522.                Character Set defined in Recommendation F.435.
  523. tyEDIBodyPartType                   ::= OBJECT 
  524.                   IDENTIFIER -- default EDIFACT-ISO646
  525.                               The following standard values  have  object  identifiers  defined  in  this
  526.             Recommendation:
  527.             -   EDIFACT: ISO646|T61|UNDEFINED OCTETS
  528.             -   ANSIX12: ISO646|T61|EBCDIC|UNDEFINED OCTETS
  529.             -   UNTDI: IS0646|T61|UNDEFINED OCTETS
  530.             -   PRIVATE: UNDEFINED OCTETS
  531.             -   UNDEFINED: UNDEFINED OCTETS
  532.             The absence of this field shall be interpreted as having the  default
  533.             value set to EDIFACT, ISO 646.
  534.             NOTE 2 - The character set referred to by the  object  identifier  is
  535.             that in which both the EDI Body Part, and those  Heading  fields  that  are
  536.             OCTET STRINGS and  are  derived  from  the  EDI  Interchange  are  encoded,
  537.             notwithstanding the fact that these types are defined as OCTET STRING.
  538.             The value of the EDI Body Part  Type  field  shall  be  used  in  the
  539.             Encoded Information Type        )   in   the   MTS    abstract
  540.             operations (in accordance with ). This enables a UA to  signal
  541.             to the MTS what type of EDI standard the EDIM's  Primary  Body
  542.             Part  complies  with.  The  MTS  shall  make   use   of   this
  543.             information, if  the  recipient  UA  has  registered  delivery
  544.             restrictions on Encoded Information Types, to decide if it can
  545.             deliver the EDI  
  546.                     The     term      glEncoded      Information      Type
  547.                   is  defined  in  8.1  of  Recommendation  X.402.    See   also
  548.                   8.2.1.1.1.23 of Recommendation X.411.
  549.             8.2.7 Incomplete Copy
  550. incomp 
  551. incomplete copy of an EDIM. Its value is a Boolean.  This field shall have 
  552. the value TRUE if body parts are removed when an EDIM is forwarded.  The 
  553. absence of this field shall be interpreted as having the value FALSE.
  554.                   .D.X435B.DOC,c030
  555.                   c030 tyIncompleteCopyFieldty:IncompleteCopyField ::= 
  556.                   BOOLEAN  -- Default False
  557.             .D.
  558.                   NOTE - The term "subject EDIM" is defined in .
  559.             8.2.8Expiry Time
  560.                   Indicates  when  the  originator  considers  this  EDIM  looses   its
  561.             validity. It comprises a date and time (UTC).
  562.                   .D.X435B.DOC,c032
  563.                   c032 tyExpiryTimeFieldty:ExpiryTimeField ::= UTCTime
  564.             .D.
  565.             8.2.9Related Messages
  566.                   Identifies messages  that  the  originator  of  this  EDIM  considers
  567.             related to it. It comprises a sequence of one or more  message  references,
  568.             one for each related message.
  569.                   .D.X435B.DOC,c033
  570.                   c033 tyRelatedMessagesFieldty:RelatedMessagesField ::= 
  571.                   SEQUENCE OF RelatedMessageReference
  572.                   tyRelatedMessageReferencety:RelatedMessageReference ::= 
  573.                     CHOICE {
  574.                   edi-message-reference [0] EDIMIdentifier,
  575.                   external-message-reference   [1] 
  576.                   ExternalMessageReference }
  577.                   tyExternalMessageReferencety:ExternalMessageReference ::= 
  578.                     EXTERNAL
  579.             .D.
  580.             8.2.10      Obsoleted EDIMs
  581.                   The Obsoleted EDIMs Field identifies  one  or  more  EDIMs  that  the
  582.             present EDIM obsoletes. It  is  a  sequence  of  subfields,  each  an  EDIM
  583.             Identifier.
  584.                   .D.X435B.DOC,c034
  585.                   c034 tyObsoletedEDIMsFieldty:ObsoletedEDIMsField    ::= 
  586.                   SEQUENCE OF ObsoletedEDIMsSubfield
  587.                   tyObsoletedEDIMsSubfieldty:ObsoletedEDIMsSubfield ::= 
  588.                EDIMIdentifier
  589.           .D.
  590.           8.2.11      EDI Application Security Elements
  591.                The EDI Application Security Elements field allows an EDI application
  592.           to exchange security elements having an end-to-end significance.
  593.                EDIApplication 
  594.                  EDIApplicationSecurityElement OPTIONAL,
  595.                   edi-encrypted-primary-bodypart  [1] BOOLEAN OPTIONAL,
  596.                   edi-application-security-extensions  [2] 
  597.                EDIApplicationSecurityExtensions OPTIONAL }
  598.                tyEDIApplicationSecurityElementty:EDIApplicationSecurityElement    
  599.                  ::= BIT STRING (SIZE (0..ub-edi-application-security- 
  600.                  elements))
  601.                tyEDIApplicationSecurityExtensionsty:EDIApplicationSecurityExtensions    
  602.                  ::= SEQUENCE OF EDIApplicationSecurityExtension
  603.                tyEDIApplicationSecurityExtensionty:EDIApplicationSecurityExtension      
  604.                  ::= ExtensionsField
  605.           .D.
  606.           8.2.12      Cross Referencing Information
  607.                The Cross  Referencing  Information  allows  an  EDI  application  to
  608.           reference individual body parts within  the  same  EDIM  and  within  other
  609.           EDIMs. It contains a set of cross reference data. Its usage is outside  the
  610.           scope of this Recommendation.
  611.                .D.X435B.DOC,c036
  612.                c036 
  613.                tyCrossReferencingInformationFieldty:CrossReferencingInf 
  614.                ormationField           ::= SET OF 
  615.                CrossReferencingInformationSubField
  616.                tyCrossReferencingInformationSubFieldty:CrossReferencingIn 
  617.                  formationSubField ::= SEQUENCE {
  618.                application-cross-reference  [0] 
  619.                ApplicationCrossReference,
  620.                message-reference      [1] MessageReference OPTIONAL,
  621.                body-part-reference    [2] BodyPartReference }
  622.                tyApplicationCrossReferencety:ApplicationCrossReference  
  623.                  ::= OCTET STRING
  624.                tyMessageReferencety:MessageReference     ::= 
  625.                  EDIMIdentifier
  626.           .D.
  627.                NOTE - Body Part Reference is defined in .
  628.           8.2.13      EDI Message Type
  629.                Indicates the Message type(s) present  in  the  EDI  Interchange.  It
  630.           consists of a set of strings.
  631.                NOTE - "Message" is to  be  understood  as  message  types  that  are
  632.           defined in EDI standards and shall not  be  confused  with  "message"  used
  633.           elsewhere in this Recommendation.
  634.                .D.X435B.DOC,c027
  635.                c027 tyEDIMessageTypeFieldty:EDIMessageTypeField ::= SET 
  636.                OF EDIMessageTypeFieldSubField
  637.                tyEDIMessageTypeFieldSubFieldty:EDIMessageTypeFieldSubFiel 
  638.                  d ::= T61String (SIZE (1..ub-edi-message-type))
  639.           .D.
  640.                The values for this field shall be:
  641.                -   EDIFACT: Message Type from the UNH segment
  642.                -   ANSIX12: Transaction Set ID from the ST segment
  643.                -   UNTDI: Message Type from the MHD segment.
  644.           8.2.14      Service String Advice
  645.                Indicates the Service String Advice of the EDI Interchange.  This  is
  646.           semantically identical to the "UNA, Service string advice" of  the  EDIFACT
  647.           Interchange.
  648.                                              tyServiceStringAdviceField 
  649.                ::= SEQUENCE {
  650.                component-data-element-separator [0] 
  651.                ComponentDataElementSeparator,
  652.                data-element-separator [1] DataElementSeparator,
  653.                decimal-notation      [2] DecimalNotation,
  654.                release-indicator     [3] ReleaseIndicator OPTIONAL,
  655.                reserved              [4] Reserved OPTIONAL,
  656.                segment-terminator    [5] SegmentTerminator }
  657.                               tyComponentDataElementSeparator                 ::= OCTET STRING (SIZE (1))
  658.                tyDataElementSeparator ::= OCTET 
  659.                  STRING (SIZE (1))
  660.                tyDecimalNotation ::= OCTET STRING (SIZE 
  661.                (1))
  662.                tyReleaseIndicator    ::= OCTET STRING 
  663.                (SIZE (1))
  664.                tyReserved    ::= OCTET STRING (SIZE (1))
  665.                tySegmentTerminator  ::= OCTET STRING 
  666.           (SIZE (1))
  667.                          8.2.15      Syntax Identifier
  668.                Indicates the syntax used. This  is  semantically  identical  to  the
  669.           "Syntax identifier" of the EDIFACT UNB segment.
  670.                It consists of a sequence of the Syntax  Identifier  and  the  Syntax
  671.           Version.
  672.                               tySyntaxIdentifierField ::= 
  673.                  SEQUENCE {
  674.                syntax-identifier     SyntaxIdentifier,
  675.                syntax-version        SyntaxVersion }
  676.                tySyntaxIdentifier ::= T61String (SIZE 
  677.                (1..ub-syntax-identifier))
  678. tySyntaxVersion                     ::= PrintableString (SIZE 
  679.                     (1..ub-syntax-version))
  680.                               8.2.16      Interchange Sender
  681.                   Indicates the sender of the EDI  Interchange.  This  is  semantically
  682.             identical to the "Interchange sender" of the EDIFACT UNB segment.
  683.                                     tyInterchangeSenderField 
  684.                   ::= SEQUENCE {
  685.                   sender-identification [0] IdentificationCode,
  686.                   identification-code-qualifier    [1] 
  687.                   IdentificationCodeQualifier OPTIONAL,
  688.                   address-for-reverse-routing [2] RoutingAddress OPTIONAL 
  689.                   } -- EDIFACT Routing Information
  690.                               NOTE - The above fields are defined in .
  691.             8.2.17      Date and Time of Preparation
  692.                   Indicates the Date/Time of preparation of the EDIM. This  is  in  UTC
  693.             Time and is derived from the "Date and time of preparation" of the  EDIFACT
  694.             UNB segment. It comprises a UTC time.
  695.                               tyDateAndTimeOfPreparationField ::= UTCTime
  696.                          8.2.18      Application Reference
  697.                Provides a general reference to an application or function.  This  is
  698.           semantically identical  to  the  "Application  reference"  segment  of  the
  699.           EDIFACT UNB segment. It consists of a string.
  700.                                                tyApplicationReferenceField 
  701.                ::= T61String (SIZE (1..ub-application-reference))
  702.                8.2.19      Heading Extensions
  703.                The Heading Extensions allows for future extensions to the Heading.
  704.                               tyHeadingExtensionsField 
  705.                ::= SET OF HeadingExtensionsSubField
  706.                tyHeadingExtensionsSubField 
  707.           ::= ExtensionField
  708.                          There is no Extensions to the Heading defined in this Recommendation.
  709.           NOTE - The Heading Extensions may be used to implement the element of
  710.           service "Services Indication" defined in Recommendation F.435.
  711.           8.3Body Part Types
  712.                The types of body parts that may appear in the Body of  an  EDIM  are
  713.           defined and described below.
  714.           8.3.1EDI Body Part
  715.                An EDI Body Part carries a single EDI Interchange.
  716.                                 tyEDIBodyPart ::= OCTET STRING
  717.           The  reference  definition  of  EDI  Interchange  used  is  that  used   by
  718.           EDIFACT (ISO 9735). Annex K to  this  Recommendation  describes  equivalent
  719.           terms in other EDI standards.
  720.           8.3.2EDIM Body Part
  721.                An EDIM Body Part contains an  EDIM,  and  optionally,  its  delivery
  722.           envelope. It is used for forwarding of EDIMs. When an  EDIM  is  forwarded,
  723.           its structure shall comply with the rules given in .
  724.                               tyEDIMBodyPart ::= SEQUENCE {
  725.                parameters            [0] MessageParameters OPTIONAL,
  726.                data                  [1] MessageData }
  727.                tyMessageParameters ::= SET {
  728.                delivery-time         [0] MessageDeliveryTime OPTIONAL,
  729.                delivery-envelope     [1] OtherMessageDeliveryFields 
  730.                OPTIONAL,
  731.                other-parameters      [2] EDISupplementaryInformation 
  732.                OPTIONAL }
  733.                tyMessageData ::= SEQUENCE {
  734.                heading               Heading,
  735.                body                  BodyOrRemoved }
  736.                tyBodyOrRemoved ::= SEQUENCE {
  737.                primary-or-removed    PrimaryOrRemoved,
  738.                additional-body-parts AdditionalBodyParts OPTIONAL }
  739.                tyPrimaryOrRemoved ::= CHOICE {
  740.                removed-edi-body      [0] NULL,
  741.                primary-body-part     [1] EXPLICIT PrimaryBodyPart }
  742.                tyAdditionalBodyParts ::= SEQUENCE 
  743.           OF CHOICE {
  744.                external-body-part    [0] EDIM- 
  745.                ExternallyDefinedBodyPart,
  746.                place-holder          [1] BodyPartPlaceHolder }  -- This 
  747.                type is for Body Part Removal
  748. tyBodyPartPlaceHolder                  ::= EDIM- 
  749.                  ExternallyDefinedBodyPart  -- Only the data 
  750.                                      -- portion of the Externally 
  751.                Defined Body shall be removed.
  752.                                      -- See text in .
  753.                                                                       tyEDISupplementaryInformation ::= IA5String (SIZE (1..ub-supplementary-info- 
  754.           length))
  755.                     NOTE -  Primary  Body  Part  is  defined  in  .   Body  Part  Reference  is
  756.           defined in . Message Delivery Time and Other Message  Delivery  Fields  are
  757.           defined in 8.3.1.1 of Recommendation X.411.
  758.           pre 
  759.           present) and data portions of  the  removed  body  part,  only  the  Object
  760.           Identifier and the  tag  of  the  "encoding"  field  of  the  EXTERNAL  are
  761.           preserved, that is, the EXTERNAL type shall have no content.
  762.           The delivery envelope shall  be  present  if  security  services  are
  763.           invoked.
  764.           The structure of an EDIM Body Part is depicted in Figure .
  765.                    import F1A.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  766.                                             FIGURE 
  767.                         EDIM Body Part StructureEDIM Body Part Structure
  768.           8.3.3Externally Defined Body Parts
  769.                Additional body parts, that relate to the Primary Body Part,  may  be
  770.           carried together with an EDI Body Part. These body parts shall  not  be  or
  771.           include EDI Interchanges.
  772.                Additional  body  parts  are   externally   defined   and   represent
  773.           information objects whose semantics and abstract syntax are denoted  by  an
  774.           object identifier which the body part carries.  They  have  Parameters  and
  775.           Data components and optionally a Body Part Reference that may be  used  for
  776.           cross-referencing to a body part.
  777.                .D.X435B.DOC,c051
  778.                c051 tyEDIM-ExternallyDefinedBodyPartty:EDIM- 
  779.                ExternallyDefinedBodyPart ::= SEQUENCE {
  780.                body-part-reference    [0] BodyPartReference OPTIONAL,
  781.                external-body-part     [1] ExternallyDefinedBodyPart -- 
  782.                from IPMS --}
  783.                tyBodyPartReferencety:BodyPartReference ::= INTEGER -- 
  784.                  shall be unique within a EDIM
  785.           .D.
  786.                Body Part Reference is assigned when the body part is created, and is
  787.           not modified subsequently. It shall be present if the originator wishes  to
  788.           cross-reference the body part at creation or in the future.
  789.                NOTE  -   Some   otExternally   Definedot:Externally   Defined   body
  790.           part types are defined in 7.3.12 of Recommendation X.420.
  791.           9.EDI Notifications
  792.                An  glEDI  Notificationgl:EDI  Notification  (abEDINab:EDIN)   is   a
  793.           member   of   a   secondary   class   of   information   object    conveyed
  794.           between users in EDI Messaging.
  795.                NOTE - The  term  glnotificationgl:notification  is  used  throughout
  796.           the   rest   of   this   Recommendation    as    a    synonym    for    EDI
  797.           Notification.
  798.                .D.X435B.DOC,c052
  799.                c052 tyEDINty:EDIN ::= CHOICE {
  800.                      positive-notification      [0] 
  801.                  PositiveNotificationFields,
  802.                     negative-notification      [1] 
  803.                  NegativeNotificationFields,
  804.                     forwarded-notification     [2] 
  805.                  ForwardedNotificationFields }
  806. tyPN                     ::= EDIN -- with positive-notification 
  807.                     chosen
  808.                   tyNN ::= EDIN -- with negative-notification chosen
  809.                   tyFN ::= EDIN -- with forwarded-notification chosen
  810.                               a)  glpo     e      notification      (abPN):       An
  811.             EDIN  that  reports  its  originator's  acceptance  of
  812.             Responsibility of an EDIM.
  813.             b)               glnegative               notification
  814.             (abNN):  An  EDIN  that   reports   its   originator's
  815.             refusal to accept Responsibility of an EDIM.
  816.                   c)              glforwarded               notification
  817. (abFN                  ):  An   EDIN   that   reports   that   Responsibility
  818.                   of an  EDIM  has  been  forwarded  together  with  the
  819.                   subject EDIM.
  820.                The   EDIM   to   which   an    EDIN    refers    is    called    the
  821.           glsubject EDIM (see also ).
  822.                The recipient of  the  EDIN  is  the  Originator  of  the
  823.           subject EDIM, or, if present, the OR  Name  indicated  in  the
  824.           EDIN Receiver field.  There shall be  at  most  one  recipient
  825.           specified for an EDIN.  There shall be at most one PN,  NN  or
  826.           FN originated for each subject EDIM by each recipient of  whom
  827.           notifications  are  requested  (except  that  an  NN  may   be
  828.           originated by the same UA subsequent to an FN,  in  accordance
  829.           with c) of ). One FN is originated, if and only if  requested,
  830.           by each recipient that forwards an EDIM.  In  accordance  with
  831.           the provisions of , the original originator shall  receive  at
  832.           most one PN or NN for each  recipient  of  whom  notifications
  833.           were requested, regardless of  how  many  times  the  EDIM  is
  834.           forwarded, and may receive multiple FNs.
  835.                An EDIN  consists  of  Positive,  Negative  or  Forwarded
  836.           Notification fields. Each of these contains the Common  fields
  837.           which are described below.
  838.                The structure of an EDIN is depicted in Figure .
  839.              import F2.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  840.                                             FIGURE 
  841.                                EDI Notification Structure
  842.           9.1Common Fields
  843.                The Common fields are defined and described below.
  844.                               tyCommonFields ::= SEQUENCE {
  845.                subject-edim          [1] SubjectEDIMField,
  846.                edin-originator       [2] EDINOriginatorField,
  847.                first-recipient       [3] FirstRecipientField OPTIONAL,
  848.                notification-time     [4] NotificationTimeField,
  849.                notification-security-elements   [5] 
  850.                SecurityElementsField OPTIONAL,
  851.                edin-initiator        [6] EDINInitiatorField,
  852.                notifications-extensions    [7] 
  853.                NotificationExtensionsField OPTIONAL }
  854.                          NOTE  -  The  Common  fields   appear   in   the   Positive   Notification,
  855.           Negative Notification and Forwarded Notification fields defined below.
  856.           9.1.1Subject EDIM Identifier
  857.                The Subject EDIM Identifier is the EDIM Identifier either  passed  in
  858.           the EDIN Receiver field, if Responsibility has been forwarded, or the  This
  859.           EDIM field, if not.
  860. tySubjectEDIMField                   ::= 
  861.                   EDIMIdentifier
  862.                               NOTE - EDIM Identifier is defined in . Subject EDIM is defined in .
  863.             9.1.2EDI Notification Originator
  864.                   The EDI Notification Originator  contains  the  OR  Name  of  the  UA
  865.             constructing the notification.
  866.                                     tyEDINOriginatorField ::= 
  867.                   ORName
  868.                               NOTE - OR Name is defined in 8.5.5 of Recommendation X.411.
  869.             9.1.3First Recipient
  870.                   The gl         Recipient     field     contains     the     OR
  871.                   Name of the first recipient in a forwarding chain. This field,
  872.                   together with other fields, is used by the  recipient  of  the
  873.                   notification to correlate the notification  and  the  original
  874.                   message.
  875.                   tyFirstRecipientField ::= 
  876.                   ORName
  877.                               NOTE - OR Name is defined in 8.5.5 of Recommendation X.411
  878.             If the originator of the EDIN is not the recipient specified  by  the
  879.             original originator, then the First Recipient Field shall be present in the
  880.             EDIN (see  and more specifically ).
  881.             9.1.4Notification Time
  882.                   Notification Time contains the date and time, in UTC format, at which
  883.             the notification for the subject EDIM was generated.
  884.                                     tyNotificationTimeField ::= 
  885.                   UTCTime
  886.                               9.1.5Security Elements
  887.                   The Security Elements field is used to provide "proof/no 
  888.             repudiation of content received", "EDI  application  security"
  889.             services.
  890.                tySecurityElementsField ::= 
  891.                SEQUENCE {
  892.                original-content      [0] Content OPTIONAL,
  893.                original-content-integrity-check [1] 
  894.                ContentIntegrityCheck OPTIONAL,
  895.                edi-application-security-elements     [2] 
  896.                EDIApplicationSecurityElementsField OPTIONAL,
  897.                security-extensions   [3] SecurityExtensionsField 
  898.                OPTIONAL }
  899.                tySecurityExtensionsField ::= 
  900.                SET OF SecurityExtensionsSubField
  901.                tySecurityExtensionsSubField 
  902.           ::= ExtensionField
  903.                          NOTE - The  EDI  Application  Security  Elements  Field  is  defined  in  .
  904.           Content  and  Content  Integrity  Check  are  defined   in,   respectively,
  905.           8.2.1.1.1.37 and 8.2.1.1.1.28 of Recommendation  X.411.  Security  services
  906.           are available only if the MTA supports secure messaging.
  907.            specifies how these fields are filled in.
  908.           9.1.6EDIN Initiator
  909.                The EDIN Initiator field can take one of the following values:
  910.                a)  "internal-UA" means that the UA generated  the  EDIN  either  for
  911.                   local reasons or because the generation had been delegated to  it
  912.                   by the user.
  913.                a)  "internal-MS" means that the MS generated  the  EDIN  either  for
  914.                   local reasons or because the generation had been delegated to  it
  915.                   by the user.
  916.                c)  "external-UA" means that the generation of the EDIN was requested
  917.                   by the user via the abstract operation Originate EDIN (see ).
  918.                             tyEDINInitiatorField ::= ENUMERATED {
  919.              internal-ua (0),
  920.              external-ua (1),
  921.              internal-ms (2)}
  922.                           (0),
  923.                eccannot-deliver-to-user (1),
  924.                  -- the EDI Interchange can not be passed on to the 
  925.                user
  926.                ecdelivery-timeout (2),
  927.                  -- the EDI Interchange could not be passed on to the 
  928.                user within
  929.                  -- a specified time limit
  930.                ecmessage-discarded (3),
  931.                  -- the UA/MS discarded the message before handoff to 
  932.                user
  933.                ecsubscription-terminated (4),
  934.                  -- recipient's subscription terminated after delivery 
  935.                but before
  936.                  -- handoff to user
  937.                ecforwarding-error (5),
  938.                  -- EDI Forwarding was attempted, but failed.
  939.                ecsecurity-error (6)
  940.                  -- security error
  941.  
  942.                -- physical delivery errors indicated by "cannot- 
  943.                deliver-to-user"
  944.                 } (0..ub-reason-code)
  945.                -- Negative Notification Diagnostic Codes from an EDI-UA or EDI-MS
  946.                tyNNUAMSDiagnosticField ::= INTEGER {
  947.                -- This field  may  be  used  to  further  specify  the  error
  948.                signalled in nn-ua-ms-basic-code
  949.                -   Additional   information   may   be   indicated   in   nn-
  950.                supplementary-information
  951.  
  952.                -- general diagnostic codes
  953.                ecprotocol-violation (1),
  954.                  -- used if the UA detects a protocol error
  955. ecedim-originator-unknown           (2),
  956.           ecedim-recipient-unknown (3),
  957.           ecedim-recipient-ambiguous (4),
  958.             -- used  if  the  EDIM  recipients  or  originator  are  not
  959.           valid
  960.           ecaction-request-not-supported (5),
  961.             -- used when  the  action  requested  by  the  recipient  is
  962.           not performed
  963.           ecedim-expired (6),
  964.             --  used  when  the  expiry  date  of  the   received   EDIM
  965.           occurred before the subject EDIM
  966.             --  was  successfully  passed  to  the  user  or   forwarded
  967.           by the EDI-UA
  968.           ecedim-obsoleted (7),
  969.             -- used when  the  EDIM  Identifier  of  the  received  EDIM
  970.           was contained in the Obsoleted EDIM field
  971.             -- of a previously received EDIM.
  972.           ecduplicate-edim (8),
  973.             -- used when the  same  EDIM  is  received  more  than  once
  974.           from the same originator
  975.           ecunsupported-extension (9),
  976.             --  used  if  the  EDIM  contains  an  extension  which   is
  977.           not supported by the UA
  978.           ecincomplete-copy-rejected (10),
  979.             -- used if  the  EDI-UA  does  not  accept  EDIMs  with  the
  980.           Incomplete Copy Indication true
  981.           ecedim-too-large-for-application 
  982.           (11),
  983.             -- used  if  the  EDIM  cannot  be  delivered  to  the  user
  984.           due to length constraints
  985.                  -- forwarding error diagnostic codes
  986. ecforwarded-edim-not-delivered                  
  987.                  (12),
  988.                    -- used when an Non-Delivery Report is received for 
  989.                  forwarded EDIM
  990.                                   ecforwarded-edim-delivery-time-out (13),
  991.                    -- used when no Delivery Report is received within a 
  992.                  given period
  993.                  ecforwarding-loop-detected (14),
  994.                    -- used if the UA receives an EDIM wich contains a 
  995.                  previously forwarded EDIM
  996.                  ecunable-to-accept-responsibility 
  997.                  (15),
  998.                    -- used if the EDI-UA cannot accept or forward 
  999.                  responsibility
  1000.  
  1001.                  -- interchange header diagnostic codes
  1002.                  ecinterchange-sender-unknown (16),
  1003.                    -- used when the UA does not recognizes the 
  1004.                  interchange-sender of the EDI interchange
  1005.                  ecinterchange-recipient-unknown 
  1006.                  (17),
  1007.                    -- used when the UA cannot find a valid interchange 
  1008.                  recipient in the Recipient Specifier
  1009.                  ecinvalid-heading-field (18),
  1010.                  ecinvalid-bodypart-type (19),
  1011.                  ecinvalid-message-type (20),
  1012. ecinvalid-syntax-id                  (21),
  1013.  
  1014.                  -- security error diagnostic codes
  1015.                  ecmessage-integrity-failure (22),
  1016.                                   ecforwarded-message-integrity-failure (23),
  1017.                  ecunsupported-algorithm (24),
  1018.                  ecdecryption-failed (25),
  1019.                  ectoken-error (26),
  1020.                  ecunable-to-sign-notification (27),
  1021.                  ecunable-to-sign-message-receipt 
  1022.                  (28),
  1023.                  ecauthentication-failure (29),
  1024. ecsecurity-context-failure                  (30),
  1025.                                                                                                -- Negative Notification Reason Codes from a user
  1026.                tyNNUserReasonCodeField ::= SEQUENCE {
  1027.                nn-user-basic-code    [0]  NNUserBasicCodeField,
  1028.                nn-user-diagnostic    [1]  NNUserDiagnosticField 
  1029.                OPTIONAL }
  1030.           -- Negative Notification Basic Reason Codes from a user
  1031.           tyNNUserBasicCodeField ::= INTEGER {
  1032.           ecunspecified (0),
  1033. ecsyntax-error           (1),
  1034.             -- used when  the  user  discovers  a  syntax  error  within
  1035.           the EDI interchange
  1036.                     ecinterchange-sender-unknown (2),
  1037.                     ecinterchange-recipient-unknown (3),
  1038.             --  used  when  the  UA  cannot  find  a  valid  interchange
  1039.           recipient in the Recipient Specifier
  1040.           ecinvalid-heading-field (4),
  1041.           ecinvalid-bodypart-type (5),
  1042.           ecinvalid-message-type (6),
  1043.                     ecfunctional-group-not-supported (7),
  1044. ecsubscription-terminated           (8),
  1045.                     -- unknown to EDIMS-User service
  1046.                  ecno-bilateral-agreement (9),
  1047.                  ecuser-defined-reason (10)
  1048.                  } (0..ub-reason-code)
  1049.           -- Negative Notification Diagnostic Reason Codes from a user
  1050.                tyNNUserDiagnosticCodeField ::= INTEGER 
  1051.                -- Contains reason passed by user when the value of nn- 
  1052.                user-basic-code is user-defined-reason.
  1053.                -- Additional information may be indicated in nn- 
  1054.                supplementary-information
  1055.  
  1056.           -- Negative Notification Reason Codes from a PDAU
  1057.                tyNNPDAUReasonCodeField ::= SEQUENCE {
  1058.                nn-pdau-basic-code    [0]  NNPDAUBasicCodeField,
  1059.                nn-pdau-diagnostic    [1]  NNPDAUDiagnosticField 
  1060.                OPTIONAL }
  1061.           -- Negative Notification Basic Reason Codes from a PDAU
  1062.                tyNNPDAUBasicCodeField ::= INTEGER {
  1063.                ecunspecified (0),
  1064.                ecundeliverable-mail (1),
  1065.                  -- used if the PDAU determines that it cannot perform 
  1066.                physical delivery of the EDIM
  1067.                               ecphysical-rendition-not-performed (2)
  1068.                  -- used if the PDAU cannot perform the physical 
  1069.                rendition of the EDIM
  1070.                 } (0..ub-reason-code)
  1071.           -- Negative Notification Diagnostic Codes from a PDAU
  1072. tyNNPDAUDiagnosticField                  ::= INTEGER { 
  1073.                -- This field may be used to further specify the error 
  1074.                signalled in nn-pdau-basic-code
  1075.                -- Additional information may be indicated in the nn- 
  1076.                supplementary-information
  1077.                ecundeliverable-mail-physical-delivery-address- 
  1078.                               incorrect (1),
  1079.                ecundeliverable-mail-physical-delivery-office-incorrect- 
  1080.                               or-invalid (2),
  1081.                ecundeliverable-mail-physical-delivery-address- 
  1082.                               incomplete (3),
  1083.                               ecundeliverable-mail-recipient-unknown (4),
  1084. ecundeliverable-mail-recipient-deceased                (5),
  1085.                ecundeliverable-mail-recipient-refused-to- 
  1086.                accept 
  1087.                (6),
  1088.                ecundeliverable-mail-organization- 
  1089.                expired (7),
  1090.                ecundeliverable-mail-recipient-did-not- 
  1091.                claim (8),
  1092.                ecundeliverable-mail-recipient-changed-address- 
  1093.                               permanently (9),
  1094.                ecundeliverable-mail-recipient-changed-address- 
  1095.                               temporarily (10),
  1096.                ecundeliverable-mail-recipient-changed-temporary- 
  1097.                               address (11),
  1098. ecundeliverable-mail-new-address-unknown                (12),
  1099.                ecundeliverable-mail-recipient-did-not-want 
  1100.                               forwarding (13),
  1101.                ecundeliverable-mail-originator-prohibited- 
  1102.                               forwarding (14),
  1103.                               ecphysical-rendition-attributes-not-supported (15)
  1104.                 } (1..ub-reason-code)
  1105.                          9.3.2NN Supplementary Information
  1106.                The NN Supplementary Information field may be used to return  further
  1107.           information to the EDIN recipient to clarify the Negative Notification.
  1108.                NOTE - EDI Supplementary Information is defined in .
  1109.           9.3.3Negative Notification Extensions
  1110.                The Negative Notification Extension       s  for   future
  1111.           extensions to the NN.
  1112.                   tyNNExtensionsField ::= SET OF 
  1113.                   NNExtensionsSubField
  1114.                   tyNNExtensionsSubField ::= 
  1115.                   ExtensionField
  1116.                               There are no extensions to the NN defined in this Recommendation.
  1117.             Extensions shall not be critical in NNs.
  1118.             9.4Forwarded Notificat    
  1119.                       glForwarded         Notification         (abFN)         is
  1120.                   sent by a UA, if and only if the originator has requested one,
  1121.                   when it determines that it cannot  accept  Responsibility  and
  1122.                   decides to forward the EDIM, and the EDI Notification Requests
  1123.                   contained in the EDIM, to another UA.
  1124.                   Forwarded Notification fields are defined and described below.
  1125.                               tyForwardedNotificationFields ::= SEQUENCE {
  1126.                fn-common-fields      [0] CommonFields,
  1127.                forwarded-to          [1] ForwardedTo,
  1128.                fn-reason-code        [2] FNReasonCodeField,
  1129.                fn-supplementary-information     [3] 
  1130.                EDISupplementaryInformation OPTIONAL,
  1131.                fn-extensions         [4] FNExtensionsField OPTIONAL }
  1132.                          9.4.1Forwarded To
  1133.                The Forwarded To field indicates the new recipient of the (forwarded)
  1134.           subject EDIM. Its value is an OR Name.
  1135.                               tyForwardedTo ::= ORName
  1136.                          NOTE - OR Name is defined in 8.5.5 of Recommendation X.411.
  1137.           9.4.2Forwarded Reason Code
  1138.                The Forwarded Reason Code indicates the reason why the Responsibility
  1139.           of the subject EDIM was forwarded. If any Basic Code field  has  the  value
  1140.           "unspecified", additional information may be carried in any combination  of
  1141.           a Diagnostic field or the FN Supplementary Info field.
  1142.                tyFNReasonCodeField ::= CHOICE {
  1143.                fn-ua-ms-reason-code  [0] FNUAMSReasonCodeField,
  1144.                fn-user-reason-code   [1] FNUserReasonCodeField,
  1145.                fn-pdau-reason-code   [2] FNPDAUReasonCodeFields }
  1146.           -- Forwarding Notification Reason Codes from an EDI-UA or EDI-MS
  1147.                tyFNUAMSReasonCodeField ::= SEQUENCE {
  1148.                fn-ua-ms-basic-code   [0]  FNUAMSBasicCodeField,
  1149.                fn-ua-ms-diagnostic   [1]  FNUAMSDiagnosticField 
  1150.                OPTIONAL,
  1151.                fn-security-check     [2]  FNUAMSSecurityCheckField 
  1152.                DEFAULT FALSE }
  1153.           -- Forwarding Notification Basic Reason Codes from an EDI-UA or EDI-MS
  1154.                tyFNUAMSBasicCodeField ::= INTEGER {
  1155.                ecunspecified (0),
  1156.                econward-routing (1),
  1157.                  -- used whenever the UA decides to re-route the 
  1158.                subject EDIM for local reasons 
  1159.                ecrecipient-unknown (2),
  1160.                ecoriginator-unknown (3),
  1161.                ecforwarded-by-edi-ms (4)
  1162.                 } (0..ub-reason-code)
  1163.           -- Forwarding Notification Diagnostic Reason Codes from an EDI-UA or EDI-MS
  1164. tyFNUAMSDiagnosticField                  ::= INTEGER {
  1165.                -- This field may be used to further specify the error 
  1166.                signalled in fn-ua-ms-basic-code.
  1167.                -- Additional information may be indicated in fn- 
  1168.                supplementary-information.
  1169.                ecrecipient-name-changed (0),
  1170.                ecrecipient-name-deleted (1)
  1171.                 } (1..ub-reason-code)
  1172.           -- Forwarding Notification Security Check Codes from an EDI-UA or EDI-MS
  1173.                tyFNUAMSSecurityCheckField ::= BOOLEAN
  1174.  
  1175.           -- Forwarding Notification Reason Codes from a user
  1176.                tyFNUserReasonCodeField ::= SEQUENCE {
  1177.                fn-user-basic-code    [0]  FNUserBasicCodeField,
  1178.                fn-user-diagnostic    [1]  FNUserDiagnosticField 
  1179.                OPTIONAL }
  1180.           -- Forwarding Notification Basic Reason Codes from a user
  1181.           ty FNUserBasicCodeField ::= INTEGER {
  1182.           ecunspecified (0),
  1183.           ecforwarded-for-archiving (1),
  1184.           ecforwarded-for-information 
  1185.           (2),
  1186. ecforwarded-for-additional-action           (3),
  1187.           ecsubscription-changed (4),
  1188.                     echeading-field-not-supported (5),
  1189.                     ecbodypart-type-not-supported (6),
  1190.                     ecmessage-type-not-supported (7),
  1191.                     ecsyntax-identifier-not-supported (8),
  1192. ecinterchange-sender-unknown                  
  1193.                  (9),
  1194.                                   ecinterchange-sender-unknown (10),
  1195.                  ecuser-defined-reason (11)
  1196.                  } (0..ub-reason-code)
  1197.           -- Forwarding Notification Diagnostic Reason Codes from a user
  1198.                tyFNUserDiagnosticField ::= INTEGER 
  1199.                -- Contains reason passed by user when value of fn-user- 
  1200.                basic-code is user-defined-reason.
  1201.                -- Additional information may be indicated in fn- 
  1202.                supplementary-information.
  1203.  
  1204.           -- Forwarding Notification Reason Codes from a PDAU
  1205.                tyFNPDAUReasonCodeField ::= SEQUENCE {
  1206.                fn-pdau-basic-code    [0] FNPDAUBasicCodeField,
  1207.                fn-pdau-diagnostic    [1] FNPDAUDiagnosticField OPTIONAL 
  1208.                }
  1209.           -- Forwarding Notification Basic Reason Codes from a PDAU
  1210.                tyFNPDAUBasicCodeField ::= INTEGER {
  1211.                ecunspecified (0),
  1212.                ecforwarded-for-physical-rendition-and- 
  1213.                delivery 
  1214.                (1)
  1215.                } (0..ub-reason-code)
  1216.           -- Forwarding Notification Diagnostic Reason Codes from a PDAU
  1217.                tyFNPDAUDiagnosticField ::= INTEGER 
  1218.           A  physical  delivery  access  unit  (PDAU)  (see  )  is   only   able   to
  1219.           generate NNs and FNs.  If PN notification  is  requested,  the  PDAU  shall
  1220.           generate an FN wi h  appropriate  Forwarded  Reason  Code  ("forwarded-for-
  1221.           physical-rendition-and-delivery") when it has determined that it can render
  1222.           the EDIM for physical delivery.
  1223.           9.4.3FN Supplementary Information
  1224.                The FN Supplementary Information field may be used to return  further
  1225.           information to the EDIN recipient to clarify the Forwarded Notification.
  1226.                NOTE - The EDI Supplementary Information Field is defined in .
  1227.           9.4.4Forwarded Notification Extensions
  1228.                The Forwarded Notifications Extensions allows for  future  extensions
  1229.           to the FN.
  1230.                               tyFNExtensionsField ::= SET OF 
  1231.                FNExtensionsSubField
  1232.                tyFNExtensionsSubField ::= 
  1233.                ExtensionField
  1234.                          There are no extensions to the FN defined in this Recommendation.
  1235.           Extensions shall not be critical in FNs.
  1236.           10.Primary Object Types
  1237.                The environment in which EDI Messaging takes place can be modelled as
  1238.           an   abstract   object   which   is   hereafter   referred   to   as    the
  1239.                                Messaging                     Environment
  1240.           (abEDIME).
  1241.                vaedime OBJECT ::= id-ot-edime
  1242.                          When refined  (i.e.,  functionally  decomposed),  the  EDIME  can  be  seen
  1243.           to comprise lesser objects which interact by means of ports.
  1244.                     vaedime-refinement REFINE edime AS
  1245.           edims
  1246.             origination         [S] PAIRED WITH edimg-user
  1247.             reception           [S] PAIRED WITH edimg-user
  1248.           edimg-user RECURRING
  1249.           ::= id-ref-primary
  1250.                     The     lesser      objects      are      referred      to      as      the
  1251. glprimary object          s          of          EDI           Messaging.           They
  1252.           include a single, central object, the  EDI  Messaging  System,
  1253.           EDIMS, and numerous peripheral objects  called  EDI  Messaging
  1254.           System users (users).
  1255.                The structure of the EDIME is depicted in Figure .
  1256.              import F3.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  1257.                                             FIGURE 
  1258.                              The EDI Messaging Environment
  1259.                The primary object types are defined and described below.  The  types
  1260.           of ports by means of which they interact are discussed in .
  1261.           10.1EDI Messaging User
  1262.                          An glEDI Messaging user (abEDIMG user) is typically a computer process or 
  1263.                glapplication   that   engages   in   EDI   Messaging.    Such
  1264.                processes or applications are referred to by the  term  "user"
  1265.                in this Recommendation. A user originates, receives,  or  both
  1266.                originates and  receives  Information  Objects  of  the  types
  1267.                defined in .
  1268.                               vaedimg-user OBJECT
  1269.                PORTS {
  1270.                  origination         [C],
  1271.                  reception           [C] }
  1272.                ::= id-ot-edimg-user
  1273.           The EDIME comprises any number of Users.
  1274.                NOTE -  EDI messaging is typically an  activity  between  information
  1275.                     processing systems. These are referred to as glEDI applications. This does not preclude the possibility of human 
  1276.           interaction with the information processing systems which  are
  1277.           performing EDI, or more direct interaction  of  a  human  user
  1278.           with   the   EDIMS.   The   terms   "gluser"   and    "glEDIMG
  1279.           user"    may    be    regarded    as    synonyms    for    EDI
  1280.           applications within this Recommendation. For brevity, the term
  1281.           "user" is used throughout the rest of this Recommendation with
  1282.           the meaning of "EDIMG user".
  1283.           10.2EDI Messaging Syst  
  1284.                      glEDI         Messaging         System         (abEDIMS)
  1285.                is the object by means of which all users communicate with one
  1286.                another in EDI Messaging.
  1287.                               vaedims OBJECT
  1288.                PORTS {
  1289.                  origination         [S],
  1290.                  reception           [S] }
  1291.                ::= id-ot-edims
  1292.           The EDIME comprises exactly one EDIMS.
  1293.           11.Primary Port Types
  1294.                The primary objects of EDI Messaging are joined to and interact  with
  1295.           one another by means of ports. These ports, which the EDIMS  supplies,  are
  1296.           referred         e   glprimary   ports   of   EDI   Messaging.
  1297.           They are of the types defined below.
  1298.                NOTE -      In  to follow, the EDIMS is decomposed into still  lesser
  1299.           objects, among which is the MTS. This  fact  is  anticipated  here  by  the
  1300.           inclusion of certain MTS capabilities in the EDIMS Abstract Service.
  1301.           11.1Origination Port
  1302.                An glOriginatio     t   is    the    means    by    which    a
  1303.                single  user  conveys  to  the   EDIMS   messages   containing
  1304.                Information Objects of the types defined in . Through  such  a
  1305.                port the user originates EDI Messages and  EDI  Notifications.
  1306.                In addition, the user may  originate  probes  through  such  a
  1307.                port.
  1308.                               vaorigination PORT
  1309.                CONSUMER INVOKES {
  1310.                  OriginateProbe,
  1311.                  OriginateEDIM,
  1312.                  OriginateEDIN }
  1313.                  ::= id-pt-origination
  1314.                          The  EDIMS  supplies  one  Origination  Port  to  each   user   (with   the
  1315.           exception of indirect users served by PDAUs (see ).
  1316.           11.2Reception Port
  1317.                A glRecep      Port   is    the    means    by    which    the
  1318.                EDIMS conveys to a single user messages containing Information
  1319.                Objects of the types defined in . Through such a port the user
  1320.                receives EDI Messages and EDI Notifications. In addition,  the
  1321.                user may receive reports through such a port.
  1322.                vareception PORT
  1323.                SUPPLIER INVOKES {
  1324.                  ReceiveReport,
  1325.                  ReceiveEDIM,
  1326.                  ReceiveEDIN }
  1327.                  ::= id-pt-reception
  1328.                          The EDIMS supplies one Reception Port to each user.
  1329.           12.Abstract Operations
  1330.                What follows defines the  abstract  service  that  characterizes  EDI
  1331.           messaging, and describes the environment in which that service is  supplied
  1332.           and  consumed.  It  does  both  using  the  abstract   service   definition
  1333.           conventions of Recommendation X.407.
  1334.                The g          Abstract      Service      is      the      set
  1335.                of capabilities that the EDIMS provides to each user by  means
  1336.                of  one  Origination  Port  and  one  Reception  Port.   Those
  1337.                capabilities are modelled as abstract  operations,  which  may
  1338.                encounter abstract errors when invoked.
  1339.                The purpose of the EDIMS Abstract Service  definition  is
  1340.           not to prescribe the interface between the EDI  user  and  the
  1341.           EDI-UA, but rather to clarify the meaning and intended use  of
  1342.           the Information Objects of . A user interface need not provide
  1343.           commands  in  one-to-one  correspondence  to   the   service's
  1344.           abstract operations, nor indeed even divide the labour between
  1345.           the user and the EDIMS as the service does.
  1346.                The abstract operations available at the Origination Port
  1347.           and Reception  Port  are  defined  and  described  below.  The
  1348.           abstract errors they may provoke are the subject of .
  1349.                The EDIMS Abstract Service involves neither abstract bind
  1350.           nor abstract unbind operations.
  1351.                The EDIMS authenticates (i.e., establishes  the  identity
  1352.           of) the  typical  user  before  offering  the  EDIMS  Abstract
  1353.           Service to him. By this means it can verify,  e.g.,  that  the
  1354.           user is an EDIMS subscriber. Authentication,  where  required,
  1355.           is implicit (rather than explicit) in the  definition  of  the
  1356.           EDIMS Abstract Service.
  1357.                NOTE - In  to follow, the EDIMS  is  decomposed  into  objects  among
  1358.           which is the MTS. The text here reflects this  fact  by  its  inclusion  of
  1359.           various MTS-defined information items in the EDIMS Abstract Service.
  1360.           12.1Origination Abstract Operations
  1361.                The abstract operations available at an origination port are  invoked
  1362.           by the user and performed by the EDIMS.
  1363.           12.1.1      Originate Prob 
  1364.                      otOriginate       Probe        abstract        operation
  1365.                originates a probe concerning  (a  class  of)  messages  whose
  1366.                contents are EDIMs.
  1367.                               tyOriginateProbe ::= ABSTRACT-OPERATION
  1368.                ARGUMENT SET {
  1369.                  envelope            [0] ProbeSubmissionEnvelope,
  1370.                  content             [1] EDIM }
  1371.                RESULT SET {
  1372.                  submission-identifier     [0] 
  1373.                ProbeSubmissionIdentifier,
  1374.                  submission-time     [1] ProbeSubmissionTime }
  1375.                ERRORS { RecipientImproperlySpecified }
  1376.           This abstract operation has the following arguments:
  1377.                a)  otEnvelope: A     e  submission  envelope,   whose
  1378.                make-up the  MTS  Abstract  Service  defines.  The  UA
  1379.                supplies all but the  following  envelope  components,
  1380.                which the user provides:
  1381.                   1)  The desired per-message options (i.e., per-message indicators
  1382.                      and extensions).
  1383.                   2)  The OR Names of the preferred recipients and the per-recipient 
  1384.                      options (i.e., originator report request, explicit conversion,
  1385.                      and extensions) desired for each.
  1386.                b)  otContent   n  instance  of  the  class  of   EDIM
  1387.                whose deliverability is to be probed.
  1388.                This abstract operation has the following resul   
  1389.                      otSubmission-identifier:        The        probe
  1390.           submission identifier the MTS assigns to the probe.
  1391.                d)    otSubmission-time:    The    date    and    time
  1392.           the probe was directly submitted.
  1393.           12.1.2      Originate EDI 
  1394.                      otOriginate        EDIM        abstract        operation
  1395.                originates a message whose content is an EDIM.
  1396.                MessageSubmissionIdentif 
  1397.                  MessageSubmissionIdentifier,
  1398.                  submission-time     [1] MessageSubmissionTime }
  1399.                ERRORS { RecipientImproperlySpecified }
  1400.           .D.
  1401.                This abstract operation has the following arguments:
  1402.                a)  otEnvelopeot:Envelope: A message submission envelope,
  1403.                   whose make-up the MTS Abstract Service defines. The UA
  1404.                   supplies all but the  following  envelope  components,
  1405.                   which the user provides:
  1406.                   1)  The desired per-message options (i.e., priority, per-message 
  1407.                      indicators, deferred delivery time, and extensions).
  1408.                   2)  The OR Names of the preferred recipients and the per-recipient 
  1409.                      options (i.e., originator report request, explicit conversion, 
  1410.                      and extensions) desired for each.
  1411.                b)  otContentot:Content: The EDIM being originated.
  1412.                   1)  If application to application security services are required, 
  1413.                      the user shall supply the value for the EDI Application 
  1414.                      Security Elements field.
  1415.                The EDIM shall be constructed as described in .
  1416.                This abstract operation has the following results:
  1417.                c)  otSubmission-identifierot:Submission-identifier: The message 
  1418.                   submission  identifier  the   MTS   assigns   to   the
  1419.                   submission.
  1420.                d) otSubmission-timeot:Submission-time: The date and time
  1421.                   the message was directly submitted.
  1422.           12.1.3     Originate EDIN
  1423.                The otOriginate EDINot:Originate EDIN abstract  operation
  1424.           originates a message whose content is an EDIN.
  1425.                .D.X435B.DOC,g05
  1426.                tyOriginateEDINty:OriginateEDIN ::= ABSTRACT-OPERATION
  1427.                ARGUMENT SET {
  1428.                  envelope            [0] MessageSubmissionEnvelope,
  1429.                  content             [1] EDIN }
  1430.                RESULT SET {
  1431.                  submission-identifier     [0] 
  1432.                MessageSubmissionIdentifier,
  1433.                  submission-time     [1] MessageSubmissionTime }
  1434.                ERRORS { RecipientImproperlySpecified }
  1435.           .D.
  1436.                a 
  1437.           abstract operation to indicate to the UA that it should accept, refuse or 
  1438.           forward Responsibility for the subject EDIM.  The exact type of EDIN to be 
  1439.           generated (PN, NN or FN) is determined from the Content argument.
  1440.                An EDIN shall be originated only by an actual recipient of the 
  1441.           subject EDIM of whom an EDIN is requested by means of the EDI Notification 
  1442.           Request field of the subject EDIM's Recipient field.
  1443.                A user may delegate the task of generating EDINs to the UA. In this 
  1444.           case, this abstract operation is not present at the abstract interface 
  1445.           between the UA and the user, that is, the operation is not available at the 
  1446.           Origination Port. In this case the UA behaves as described in .
  1447.                This abstract operation has the following arguments:
  1448.                a)  otEnvelopeot:Envelope: A message submission envelope,
  1449.                   whose make-up the MTS Abstract Service defines. The UA
  1450.                   supplies all but the  following  envelope  components,
  1451.                   which the user provides:
  1452.                   1)  The desired per-message options (i.e., priority, per-message 
  1453.                      indicators, and extensions). Implicit conversion shall be 
  1454.                      prohibited, priority shall be that of the subject EDIM.
  1455.                   2)  The OR Names of the preferred recipients and the per-recipient 
  1456.                      options (i.e., explicit conversion and extensions) desired for 
  1457.                      each. The preferred recipient of the EDIN is the originator of 
  1458.                      the subject EDIM or, if present, the OR Name indicated in the 
  1459.                      EDIN Receiver field.
  1460.                b)  otContentot:Content: The EDIN being originated.
  1461.                   1)  If application to application security services are required, 
  1462.                      the user shall supply the value for the EDI Application 
  1463.                      Security Elements field.
  1464.                The EDIN shall be constructed as described in .
  1465.                This abstract operation has the following results:
  1466.                c)  otSubmission-identifierot:Submission-identifier: The message 
  1467.                   submission  identifier  the   MTS   assigns   to   the
  1468.                   submission.
  1469.                d) otSubmission-timeot:Submission-time: The date and time
  1470.                   the message was directly submitted.
  1471.           12.2Reception Abstract Operations
  1472.                The abstract operations available at a Reception Port are invoked by 
  1473.           the EDIMS and performed by the user.
  1474.                mess 
  1475.           messages because whether or not it does so for a particular user has no 
  1476.           impact upon that user's ability to communicate with other users. Thus the 
  1477.           provision of storage is a local matter.
  1478.           12.2.1     Receive Report
  1479.                The otReceive Reportot:Receive Report abstract  operation
  1480.           receives a report.
  1481.                .D.X435B.DOC,g06
  1482.                tyReceiveReportty:ReceiveReport ::= ABSTRACT-OPERATION
  1483.                ARGUMENT SET {
  1484.                  envelope            [0] ReportDeliveryEnvelope,
  1485.                  undelivered-object  [1] InformationObject OPTIONAL }
  1486.                RESULT
  1487.                ERRORS {}
  1488.           .D.
  1489.                The report received may concern any of the following previously 
  1490.           originated by the report's recipients:
  1491.                a)  A message whose content was an EDIM that was originated with the 
  1492.                   Originate EDIM abstract operation or by forwarding.
  1493.                b)  A message whose content was an EDIN that was originated as a 
  1494.                   result of a previously received message. The EDIN could be any of 
  1495.                   PN, NN or FN.
  1496.                c)  A probe concerning a message whose content would have been an 
  1497.                   EDIM that was originated with the Originate Probe abstract 
  1498.                   operation.
  1499.                This abstract operation has the following arguments:
  1500.                d)  otEnvelopeot:Envelope: A report delivery envelope, whose 
  1501.                   make-up the MTS Abstract Service defines.
  1502.                e) otUndelivered-objectot:Undelivered-object: The content of 
  1503.                   the message whose status is being reported. An EDIM or
  1504.                   EDIN.
  1505.                  If the report was  provoked  by  a  previous  Originate
  1506.                   Probe abstract operation invocation, this  conditional
  1507.                   argument shall be absent. If the report  was  provoked
  1508.                   by  a  previous  Originate  EDIM  abstract   operation
  1509.                   invocation, the argument shall be present if, and only
  1510.                   if, content return was requested.
  1511.                This abstract operation has no results.
  1512.           12.2.2     Receive EDIM
  1513.                The otReceive EDIMot:Receive EDIM abstract operation receives a 
  1514.           message whose content is an EDIM.
  1515.                .D.X435B.DOC,g07
  1516.                tyReceiveEDIMty:ReceiveEDIM ::= ABSTRACT-OPERATION
  1517.                  ARGUMENT SET {
  1518.                    envelope            [0] MessageDeliveryEnvelope,
  1519.                    content             [1] EDIM }
  1520.                  RESULT
  1521.                  ERRORS {}
  1522.                            This abstract operation has the following arguments:
  1523.           a)  otEnvelope: The message's delivery envelope.
  1524.           b)  otContent:  The  EDIM  that   is   the   message's
  1525.                   content.
  1526.           This abstract operation has no results.
  1527.           When the received EDIM contains an EDIM Body Part (that is, when  the
  1528.           original EDIM has been forwarded), it may  be  necessary  to  scan  several
  1529.           levels of nested Heading fields in order to determine the correct  original
  1530.           value for optional Heading fields (see   for  the  nested  structure  of  a
  1531.           forwarded EDIM and  for rules related to Heading fields).
  1532.           12.2.3      Receive EDIN
  1533.                The otRec       EDIN    abstract    operation    receives    a
  1534.                message whose content is an EDIN. The EDIN is provoked  by  an
  1535.                EDIM originated with the Originate EDIM abstract operation.
  1536.                               tyReceiveEDIN ::= ABSTRACT-OPERATION
  1537.                ARGUMENT SET {
  1538.                  envelope            [0] MessageDeliveryEnvelope,
  1539.                  content             [1] EDIN }
  1540.                RESULT
  1541.                ERRORS {}
  1542.             This abstract operation has the following arguments:
  1543.                   a)  otEnvelope: The message's delivery envelope.
  1544.                   b)  otContent:  The  EDIN  that   is   the   message's
  1545.             content.
  1546.                   This abstract operation has no results.
  1547.             13.Abstract Errors
  1548.                   The  abstract  errors  that  may  be  reported  in  response  to  the
  1549.             invocation of the abstract operations available at the Origination Port and
  1550.             Reception Port are defined and described  below  or  as  part  of  the  MTS
  1551.             Abstract Service definition.
  1552.                   The set of abstract  errors  represented  below  is  intended  to  be
  1553.             illustrative, rather than exhaustive.
  1554.             13.1Recipient Improperly Specif   
  1555.                           otRecipient            Improperly            Specified
  1556.                   abstract error reports that  one  or  more  of  the  OR  Names
  1557.                   supplied  as  arguments  of  the  abstract   operation   whose
  1558.                   performance is aborted, or as components of its arguments, are
  1559.                   invalid.
  1560.                   This abstract error is defined by the MTS Abstract Service.
  1561.             14.Other capabilities
  1562.                   In addition to  the  capabilities  embodied  in  the  EDIMS  Abstract
  1563.             Service, defined above, the EDIMS shall transparently extend to  each  user
  1564.             the other MS (see Recommendation X.413) and MTS (see Recommendation  X.411)
  1565.             capabilities identified  below.  (The  enumeration  of  these  capabilities
  1566.             necessarily anticipates the fact, stated in , that  MSs  and  the  MTS  are
  1567.             among the EDIMS' component parts.)
  1568.                   The following additional capabilities shall be provided:
  1569.                   a)  Submission: Capabilities of the MS' or MTS' submission  port  not
  1570.                      embodied in the EDIMS Abstract  Service,  e.g.,  the  ability  to
  1571.                      cancel delivery of a previously originated message whose  content
  1572.                      is an EDIM (but not an EDIN), if deferred delivery was selected.
  1573.                   b)  Delivery: Capabilities of the MTS' delivery port not embodied  in
  1574.                      the EDIMS Abstract Service,  e.g.,  the  ability  to  temporarily
  1575.                      control the kinds of information objects the MTS conveys  to  the
  1576.                      user's UA.
  1577.                   c)   Administration:  The  capabilities  of   the   MS's   or   MTS's
  1578.                      administration port.
  1579.                   d)  Retrieval: The capabilities of the MS' retrieval port.
  1580.                   In addition to the above and as a local matter, the EDIMS may provide
  1581.             to users additional  capabilities  neither  defined  nor  limited  by  this
  1582.             Recommendation. Among such capabilities are those of the Directory.
  1583.                   NOTE - The required capabilities above are excluded from  the  formal
  1584.             definition of the EDIMS Abstract Service for purely pragmatic  reasons,  in
  1585.             particular, because their inclusion would largely and needlessly  reproduce
  1586.             the definitions of the MS  and  MTS  abstract  operations  upon  which  the
  1587.             capabilities are based.
  1588.             15.Secondary Object Types
  1589.                   The EDIMS can be modelled as comprising lesser objects which interact
  1590.             with one another by means of (additional) ports.
  1591.                                     vaedims-refinement REFINE edims AS
  1592.                   mTS
  1593.                     submission          [S] PAIRED WITH edi-ua, edi-ms
  1594.                     delivery            [S] PAIRED WITH edi-ua, edi-ms
  1595.                        administration      [S] PAIRED WITH edi-ua, edi-ms
  1596.                     edi-ua RECURRING
  1597.                       origination         [S] VISIBLE
  1598.                       reception           [S] VISIBLE
  1599.                     edi-ms RECURRING
  1600.                       submission          [S] PAIRED WITH edi-ua
  1601.                       retrieval           [S] PAIRED WITH edi-ua
  1602.                       administration      [S] PAIRED WITH edi-ua
  1603.                     pdau RECURRING
  1604.                       reception           [S] VISIBLE
  1605.                     ::= id-ref-secondary
  1606.                                 These     lesser     objects     are      referred      to      as      the
  1607.             glsecond     objects     of      EDI      Messaging.      They
  1608.             include a  single,  central  object,  the  MTS,  and  numerous
  1609.             peripheral objects: EDI messaging system us r  agents  (abEDI-
  1610. UA                    ), EDI messaging system message stores (abEDI-MS), telematic agents (abTLMA), and physical delivery 
  1611.           access units  (abPDAU).  Specification  of  the  protocol  for
  1612.           the TLMA may be the subject for future standardization.
  1613.                The structure of the EDIMS is depicted  in  Figure  .  As
  1614.           shown by the figure,  EDI-UAs,  EDI-MSs,  and  PDAUs  are  the
  1615.           instruments by means of which the  EDIMS  provides  the  EDIMS
  1616.           Abstract Service to users.
  1617.              import F4.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  1618.                                             FIGURE 
  1619.                                The EDI Messaging System
  1620.                The secondary object types are defined and described below. The types
  1621.           of ports by means of which they interact are discussed in .
  1622.                The refinement above encompasses all possible interconnections of all
  1623.           possible  objects.  It  ignores  the  possible  absence  of  objects  of  a
  1624.           particular type (e.g., PDAU), and specific logical  configurations  of  the
  1625.           MS. The latter are identified in Recommendation X.402.
  1626.                The MTS supplies import and export ports. However, since those  ports
  1627.           are not formally defined (in Recommendation X.411), they are  not  included
  1628.           in the formal refinement above.
  1629.                Specification of a management port may  be  the  subject  for  future
  1630.           standardization.
  1631.           15.1EDI User Agent
  1632.                An g   I     user     agent     (abEDI-UA)     is     a     UA
  1633.                tailored so as to better assist a single user to engage in EDI
  1634.                Messaging. It helps him originate, receive, or both  originate
  1635.                and receive messages containing  Information  Objects  of  the
  1636.                types defined in .
  1637. vaedi-ua                OBJECT
  1638.                PORTS {
  1639.                  origination         [S],
  1640.                  reception           [S],
  1641.                  submission          [C],
  1642.                  delivery            [C],
  1643.                  retrieval           [C],
  1644.                     administration      [C] }
  1645.                  ::= id-ot-edi-ua
  1646.                            The EDIMS comprises any number of EDIMS UAs 
  1647.                      noted    above,    the    term     gluser     agent
  1648.           (abUA)  is  used  throughout  this  Recommendation  with   the
  1649.           meaning of EDI-UA.
  1650.           15.2EDI Message Sto  
  1651.                       glEDI          message         store         (abEDI-MS)
  1652.                is an MS tailored so as to better assist a single  UA  engaged
  1653.                in EDI Messaging. It helps it submit,  take  delivery  of,  or
  1654.                both  submit  and  take  delivery   of   messages   containing
  1655.                Information Objects of the types defined in .
  1656.                          vaedi-ms OBJECT
  1657.                PORTS {
  1658.                  submission          [S],
  1659.                  retrieval           [S],
  1660.                  administration      [S],
  1661.                  submission          [C],
  1662.                  delivery            [C],
  1663.                  administration      [C] }
  1664.                ::= id-ot-edi-ms
  1665.           The EDIMS comprises any number of EDIMS MSs.
  1666.                NOTE          d    above,    the    term    glmessage    store
  1667.                (abMS)  is  used  throughout  this  Recommendation  with   the
  1668.                meaning of EDI-MS.
  1669.           15.3Telematic Age  
  1670.                   gltelematic     agent      (abTLMA)      is      an      AU
  1671.                that helps a single indirect user engage in EDI Messaging from
  1672.                a Telematic terminal, along with that terminal and the network
  1673.                that joins the two. A TLMA helps the user originate,  receive,
  1674.                or both originate and receive messages containing  Information
  1675.                Objects of the types defined in .
  1676.                Specification of the protocol for this AU  may  be  the  subject  for
  1677.           future standardization.
  1678.           15.4Physical Delivery Access Unit
  1679.                In  the  present   context,   a   Physical   Delivery   Access   Unit
  1680.           (abPDAU) helps any number  f  indirect  users  engage  in  EDI
  1681.           Messaging by means of  a  Physical  Delivery  System  (abPDS).
  1682.           It helps them receive (but not originate) messages  containing
  1683.           Information Objects of the types defined in .
  1684. vapdau                   OBJECT
  1685.                   PORTS {
  1686.                        reception           [S] }
  1687.                     ::= id-ot-pdau
  1688.                                 The EDIMS comprises any number of PDAUs.
  1689.             A PDAU consumes import and export ports. However, since  those  ports
  1690.             are not formally defined (in Recommendation X.411), they are  not  included
  1691.             in the formal definition of PDAU above.
  1692.             If notifications are requested, the PDAU shall generate  one  of  the
  1693.             following:
  1694.             -   an FN with appropriate reason code if the PDAU determines that it
  1695.                      can render and deliver the EDIM
  1696.             -   a NN with appropriate reason code if the PDAU determines that  it
  1697.                      cannot render or deliver the EDIM.
  1698.             The use of the PDAU shall be  subject  to  the  requirements  of  the
  1699.             security policy in force.
  1700.             15.5Message Transfer System
  1701.                               In the present context, the glMessage Transfer System(abMTS) conveys Information Objects of the 
  1702.                   types defined in  between UAs, MSs, and AUs.
  1703.                   The EDIMS comprises a single MTS.
  1704.                   The use of TLMA may be restricted by the security policy in force.
  1705.             16.Secondary Port Types
  1706.                   The secondary objects of EDI Messaging are  joined  to  and  interact
  1707.             with one another by means of ports. These ports,  which  MSs  and  the  MTS
  1708.             supply, are refer               glsecondary   ports   of   EDI
  1709.             Messaging. They are of the types identified below.
  1710.                   The capabilities embodied in one Submission, one Retrieval,  and  one
  1711.             Administration port constitute the MS Abstract Service. They are defined in
  1712.             Recommendation X.413.
  1713.                   The capabilities embodied in one Submission, one  Delivery,  and  one
  1714.             Administration Port constitute the MTS Abstract Service. They  are  defined
  1715.             in Recommendation X.411.
  1716.                   NOTE - By means of the  abstract  bind  operation  which  guards  its
  1717.             ports, an MS or the MTS typically authenticates  another  secondary  object
  1718.             before offering its abstract service to that object.
  1719.                   Specification of a management port may  be  the  subject  for  future
  1720.             standardization.
  1721.             16.1Submission Port
  1722.                   In the present context, a Submission Port is the means by which a  UA
  1723.             (directly or indirectly) or an MS (directly) submits probes concerning, and
  1724.             messages containing Information Objects of the types defined in .
  1725.                   An MS supplies one Submission Port to its UA.
  1726.                   The MTS supplies one Submission Port to each UA configured without an
  1727.             MS and to each MS.
  1728.             16.2Delivery Port
  1729.                   In the present context, a Delivery Port is the means by which a UA or
  1730.             MS takes delivery of reports concerning and messages containing Information
  1731.             Objects of the types defined in .
  1732.                   The MTS supplies one Delivery Port to each UA configured  without  an
  1733.             MS and to each MS.
  1734.             16.3Retrieval Port
  1735.                   In the present context, a Retrieval Port is the means by which  a  UA
  1736.             retrieves reports concerning and messages containing Information Objects of
  1737.             the types defined in .
  1738.                   An MS supplies one Retrieval Port to its UA.
  1739.             16.4Administration Port
  1740.                   In the present context, an Administration Port is the means by  which
  1741.             a UA changes information about itself or its user on file with its MS, or a
  1742.             UA or MS changes such information on file with the MTS.
  1743.                   An MS supplies one Administration Port to its UA.
  1744.                   The MTS supplies  one  Administration  Port  to  each  UA  configured
  1745.             without an MS and to each MS.
  1746.             16.5Import Port
  1747.                   In the present context, an Import Port is the means by which the  MTS
  1748.             imports reports concerning and messages containing Information  Objects  of
  1749.             the types defined in .
  1750.                   The MTS supplies one Import Port to each AU.
  1751.             16.6Export Port
  1752.                   In the present context, an Export Port is the means by which the  MTS
  1753.             exports probes concerning and messages containing  Information  Objects  of
  1754.             the types defined in .
  1755.                   The MTS supplies one Export Port to each AU.
  1756.             17.User Agent Operation
  1757.                   A UA must employ the MTS in a particular way in order to  (correctly)
  1758.             provide the EDIMS Abstract Service to its user. If  the  user  is  equipped
  1759.             with an MS, the latter contributes to the provision of the abstract service
  1760.             and, therefore, is subject to the same rules.
  1761.                   The rules that govern the operation of a UA (and MS) are the  subject
  1762.             of what follows. The operation of a  TLMA  is  beyond  the  scope  of  this
  1763.             Recommendation.
  1764.                   NOTE - The purpose of what follows is not to dictate or constrain the
  1765.             implementation of a real UA unnecessarily, but rather to specify the effect
  1766.             to be achieved.
  1767.             17.1Performance of Origination Operations
  1768.                   A UA shall perform the abstract operations it makes available at  its
  1769.             Origination Port as prescribed below.
  1770.                   In the performance of these operations, the UA invokes the  following
  1771.             abstract operations of the MTS Abstract Service (which, for  what  follows,
  1772.             are unqualified as to their source):
  1773.                   a)  Probe Submission
  1774.                   b)  Message Submission
  1775.                   In response to the invocation of  these  abstract  operations,  a  UA
  1776.             reports abstract  errors  as  appropriate.  Specification  of  the  precise
  1777.             circumstances under which each abstract error should be reported is  beyond
  1778.             the scope of this Recommendation.
  1779.             17.1.1      Originate Probe
  1780.                   A UA shall perform the Originate Probe abstract operation by invoking
  1781.             Probe Submission with the arguments indicated below, and  by  returning  to
  1782.             its user the results indicated below.
  1783.                   The arguments of Probe Submission shall be as follows:
  1784.                   a)  Envelope: The components of this argume t  that  constitute  per-
  1785.                      probe fields shall be as follows; those not explicitly  mentioned
  1786.                      below  shall  be  as  specified  by  Originate  Probe's  Envelope
  1787.                      argument:
  1788.                      1)  Originator-name: The OR Name of the UA's user.
  1789.                      sp 
  1790.                          specified in  - .
  1791.                      3)  Content-identifier: Specified or omitted as a local matter.
  1792.                   The components of this argument that constitute per-recipient  fields
  1793.             shall be as specified by  abstract  operation  Originate  Probe's  Envelope
  1794.             argument.
  1795.                   The results of Originate Probe shall be as follows:
  1796.                   b)  Submission-identifie :   Probe   Submission's   Probe-submission-
  1797.                      identifier result.
  1798.                   c)  Submission-time: Probe Submission's Probe-submission-time result.
  1799.                   The UA shall ignore  all  properties  of  Originate  Probe's  Content
  1800.             argument other than those mentioned above.
  1801.                   How the UA employs Probe Submission's Content-identifier result is  a
  1802.             local matter.
  1803.             17.1.2      Originate EDIM
  1804.                   A UA shall perform the Originate EDIM abstract operation by  invoking
  1805.             Message Submission with the arguments indicated below, and by returning  to
  1806.             its user the results indicated below.
  1807.                   The arguments of Message Submission shall be as follows:
  1808.                   a)  Envelope: The components of this argume t  that  constitute  per-
  1809.                      message  fields  shall  be  as  follows;  those  not   explicitly
  1810.                      mentioned below shall be as specified by Originate EDIM  Abstract
  1811.                      Operation Envelope argument:
  1812.                      1)  Originator-name: The OR Name of the UA's user.
  1813.                      2)     Content-type    and    Original-encoded-information-types:
  1814.                          Determined from Originate EDIM's Content argument as specified
  1815.                          in  and , respectively.
  1816.                      3)  Content-identifier: Specified or omitted as a local matter.
  1817.                      4)  The security arguments on message submission are  subject  to
  1818.                          the  security  policy  in  force.  When  the  security  policy
  1819.                          specifies the support of Content Integrity  Security  Service,
  1820.                          and when Notification Security  is  requested,  the  UA  shall
  1821.                          generate  and  submit  the  content-integrity-check   Security
  1822.                          Argument as defined in 8.2.1.1.1.28 in Recommendation X.411.
  1823.                      The components of  this  argument  that  constitute  per-recipient
  1824.                      fields shall be as  specified  by  abstract  operation  Originate
  1825.                      EDIM's Envelope argument.
  1826.                      To prevent an unknown number of  EDINs  from  being  sent  to  the
  1827.                      original originator of a messa e  in  case  of  forwarding,  "DL-
  1828.                      expansion-prohibited", if available, may be set to TRUE if any of
  1829.                      PN, NN or FN are requested.
  1830.                   b)   Content:  Determined  from  Originate  EDIM's  Content  argument
  1831.                      (identified as an EDIM) as specified in .
  1832.                      1)  If "proof/non-repudiation of Responsibility"  notification is
  1833.                          requested, the UA shall set the  Notification  Security  field
  1834.                          accordingly for each recipient as required.
  1835.                      2)  If "proof/non-repudiation of content received" notification is 
  1836.                          requested, the UA  shall  set  the  Reception  Security  field
  1837.                          accordingly for each recipient as required.
  1838.                      3)  If "EDI application security" is  requested,  the  end-to-end
  1839.                          application security  value  shall  be  conveyed  in  the  EDI
  1840.                          Application Security Elements field.
  1841.                      4)  If "proof/non-repudiation of content originated" is requested, 
  1842.                          the UA shall submit t e  message  using  the  "message-origin-
  1843.                          authentication-check",   or   the    "content-integrity-check"
  1844.                          (possibly in the message token),  according  to  the  security
  1845.                          policy in force.
  1846.                   NOTE - In ca e  of  the  use  of  a  notarizing  function,  the  non-
  1847.             repudiation of content service is provided implicitly, and is not reflected
  1848.             in any protocol elements.
  1849.                   The results of Originate EDIM shall be as follows:
  1850.                   c)  Submission-identifier: Messa e  Submission's  Message-submission-
  1851.                      identifier result.
  1852.                   d)   Submission-time:  Message  Submission's  Message-submission-time
  1853.                      result.
  1854.                   How the UA employs Message Submission's Content-identifier result  is
  1855.             a local matter.
  1856.                   The  inclusion  of  Message  Submission's  Extensions  result   among
  1857.             Originate EDIM's results is proper  and  may  be  the  subject  for  future
  1858.             standardization.
  1859.             17.1.3      Originate EDIN
  1860.                   A UA shall perform the Originate EDIN abstract operation, if  the  UA
  1861.             makes it available to its user, by invoking  Message  Submission  with  the
  1862.             arguments indicated below,  and  by  returning  to  its  user  the  results
  1863.             indicated below.
  1864.                   betwe 
  1865.             between the UA and the user, that is, the operation is not available at the
  1866.             Origination port. In this case the UA behaves as if the abstract  operation
  1867.             would have been invoked. The UA may  accept  Responsibility  at  will,  but
  1868.             shall accept Responsibility when the EDIM is made available to the user, or
  1869.             when it forwards an EDIM with content changed (in  this  context,  "content
  1870.             changed" means that the forwarding UA adds or removes body parts  from  the
  1871.             forwarding EDIM, in accordance with . The term forwarding EDIM  is  defined
  1872.             in ).
  1873.                   A UA shall perform the Originate EDIN abstract operation by  invoking
  1874.             Message Submission with the arguments indicated below, and by returning  to
  1875.             its user the results indicated below.
  1876.                   The arguments of Message Submission shall be as follows:
  1877.                   a)  Envelope: The components of this argume t  that  constitute  per-
  1878.                      message  fields  shall  be  as  follows;  those  not   explicitly
  1879.                      mentioned below shall be  as  specified  by  the  Originate  EDIN
  1880.                      abstract operation Envelope argument:
  1881.                      1)  Originator-name: The OR Name of the UA's user.
  1882.                      2)     Content-type    and    Original-encoded-information-types:
  1883.                          Determined from the EDIN as specified in  and , respectively.
  1884.                      3)  Content-identifier: Specified or omitted as a local matter.
  1885.                      4)  Deferred-delivery-time: Omitted.
  1886.                      5)  Priority: Same as that of the subject EDIM.
  1887.                   NOTE - Subject EDIM is defined in .
  1888.                   b)   Content:  Determined  from  Originate  EDIN's  Content  argument
  1889.                      (identified as a PN, NN or FN) as specified in .
  1890.                      1)  If, in the subject EDIM, Reception Security is s t  to  "non-
  1891.                          repudiation" a d  Notification  Security  is  set   to   "non-
  1892.                          repudiation"  and   the   "content-integrity-check"   security
  1893.                          argument is present in the delivery envelope  of  the  subject
  1894.                          EDIM, then the "content-integrity-check" security argument  is
  1895.                          copied into the Content Integrity Check field of the EDIN. The
  1896.                          UA shall  submit  the  EDIN  with  a  non-repudiable  security
  1897.                          element "content-integrity-check"  (possibly  in  the  message
  1898.                          token)  or a "message-origin-authentication-check"  (depending
  1899.                          on the security policy in force).
  1900.                      2)  If, in the Subject EDIM, Reception Security is s t  to  "non-
  1901.                          repudiation" a d  Notification  Security  is  set   to   "non-
  1902.                          repudiation"  and   the   "content-integrity-check"   security
  1903.                          argument is not  present  in  the  delivery  envelope  of  the
  1904.                          subject EDIM, then the Content of the subject message shall be
  1905.                          copied into the Original Content field of  the  EDIN.  The  UA
  1906.                          shall submit the EDIN with a non-repudiable  security  element
  1907.                          "content-integrity-check" (possibly in the message token) or a
  1908.                          "message-origin-authentication-check"   (depending   on    the
  1909.                          security policy in force).
  1910.                      3)  If, in the Subject EDIM,  Notification  Security  is  set  to
  1911.                          "proof" the UA shall submit the EDIN with the security element
  1912.                          "content-integrity-check" (possibly in the message  token)  or
  1913.                          the "message-origin-authentication-check",  according  to  the
  1914.                          security policy in force.
  1915.                      4)  If, in the Subject EDIM, EDI Notification Security is set  to
  1916.                          "non-repudiation" the UA shall submit t e  EDIN  with  a  non-
  1917.                          repudiable   security    argument    "content-integrity-check"
  1918.                          (possibly  n  the  message  token)   or   a   "message-origin-
  1919.                          authentication-check", according to  the  security  policy  in
  1920.                          force.
  1921.                      5)  If the MTA does not support secure messaging, the EDIN  shall
  1922.                          contain an appropriate Reason Code.
  1923.                   The results of Originate EDIN shall be as follows:
  1924.                   c)  Submission-identifier: Messa e  Submission's  Message-submission-
  1925.                      identifier result.
  1926.                   d)   Submission-time:  Message  Submission's  Message-submission-time
  1927.                      result.
  1928.                   How the UA employs Message Submission's Content-identifier result  is
  1929.             a local matter.
  1930.             17.2Invocation of Reception Operations
  1931.                   A UA shall invoke the abstract operations available at its  Reception
  1932.             Port as specified below.
  1933.                   The UA invokes these operations in response to the MTS' invocation of
  1934.             the following abstract operations of the MTS Abstract Service  (which,  for
  1935.             what follows, are unqualified as to their source):
  1936.                   a)  Report Delivery
  1937.                   b)  Message Delivery
  1938.                   The abstract operations of a Reception Port report no errors.
  1939.             17.2.1      Receive Report
  1940.                   Whenever the MTS invokes Report Delivery at a UA's Delivery Port, the
  1941.             UA shall invoke the Receive Report abstract operation  with  the  following
  1942.             arguments:
  1943.                   a)  Envelope: Report Delivery's Envelope argument.
  1944.                   b)  Undelivered-object: Determined from Repo t  Delivery's  Returned-
  1945.                      content argument as specified in .
  1946.                   How  the  UA  employs  the  Content-identifier  component  of  Report
  1947.             Delivery's Envelope argument is a local matter.
  1948.             17.2.2      Receive EDIM
  1949.                   Whenever the MTS invokes Message Delivery at a  UA's  Delivery  Port,
  1950.             and its Content argument encodes an EDIM as specified in  ,  the  UA  shall
  1951.             invoke the Receive EDIM abstract operation with the following arguments:
  1952.                   a)  Envelope: Message Delivery's Envelope argument.
  1953.                   b)  Content: Determined from Message Delivery's Content  argument  as
  1954.                      specified in  (but no longer marked as an EDIM).
  1955.             17.2.3      Receive EDIN
  1956.                   Whenever the MTS invokes Message Delivery at a  UA's  Delivery  Port,
  1957.             and its Content argument encodes an EDIN as specified in  ,  the  UA  shall
  1958.             invoke the Receive EDIN abstract operation with the following arguments:
  1959.                   a)  Envelope: Message Delivery's Envelope argument.
  1960.                   b)  Content: Determined from Message Delivery's Content  argument  as
  1961.                      specified in .
  1962.             17.3Internal procedures
  1963.                   A UA shall perform as specified below the  internal  procedures  that
  1964.             relate to acceptance  of  Responsibility,  refusal  of  Responsibility  and
  1965.             forwarding.  Security elements in any type of notification shall follow the
  1966.             rules of .
  1967.                   A user may instruct its UA to  accept  or  refuse  Responsibility  of
  1968.             incoming messages based on certain criteria.
  1969.                   In addition, a user may instruct its UA to forward incoming  messages
  1970.             based on certain criteria.
  1971.                   Because of forwarding, it is possible for a UA to  receive  the  same
  1972.             EDIM more than once.  Mechanisms for detecting  such  duplicate  receptions
  1973.             are not required, but may be a matter of local implementation  by  the  UA.
  1974.             If they exist, and notifications are requested, the UA shall  originate  an
  1975.             NN.  If they do not exist, and notifications are requested,  the  UA  shall
  1976.             originate a PN or FN, as appropriate.
  1977.                   The procedures involve the following abstract operations of  the  MTS
  1978.             Abstract Service (which, for what follows,  are  unqualified  as  to  their
  1979.             source):
  1980.                   a)  Message Submission
  1981.                   b)  Message Delivery
  1982.                   As implied by the above, in the course of the procedures, the UA  has
  1983.             occasion to invoke Message Submission. What it does  with  the  results  of
  1984.             this abstract operation is a local matter.
  1985.                   The UA shall consider as a candidate for each procedure  individually
  1986.             every message for which all of the following conditions hold:
  1987.                   c)  The MTS has conveyed the message to the UA  by  invoking  Message
  1988.                      Delivery at the UA's Delivery Port.
  1989.                   d)  The UA has not conveyed the  message  to  the  user  by  invoking
  1990.                      Receive EDIM at the UA's Reception Port.
  1991.                   e)  The message contains an EDIM (rather than an EDIN).
  1992.                   With reference to item d) above, the message might be detained in the
  1993.             UA, e.g., as might be typical, because of the user's unavailability.
  1994.             17.3.1      Acceptance of Responsibility
  1995.                   A UA shall accept  Responsibility  when  a  message  is  successfully
  1996.             passed from the UA to the user. The UA shall follow  the  procedures  below
  1997.             for each candidate message with respect  to  whose  content  the  following
  1998.             condition holds:
  1999.                   a)  The EDIM requests a PN by means of the EDI  Notification  Request
  2000.                      field of the subject EDIM's Recipients field.
  2001.                   The UA may forward a message that it has accepted Responsibility for.
  2002.             See also  on forwarding.
  2003.             17.3.1.1    Construction of PN
  2004.                   The UA shall construct a PN if, and only  if,  one  is  requested  by
  2005.             means of  the  EDI  Notification  Requests  field  of  the  subject  EDIM's
  2006.             Recipients field and in accordance with 
  2007.                   The PN shall have the following common fields:
  2008.                   a)  Subject EDIM: The Subject EDIM's ThisEDIM field or,  if  present,
  2009.                      the Original EDIM Identifier in the EDIN Receiver field.
  2010.                   b)  EDIN Originator: The OR Name of the UA which submits the EDIN.
  2011.                   of 
  2012.                      of the  delivery  envelope  (see  8.3.1.1.1.4  of  Recommendation
  2013.                      X.411).
  2014.                   d)  Notification Time: The current date and time.
  2015.             17.3.1.2    Submission of PN
  2016.                   The UA shall submit the PN above by invoking Message Submission  with
  2017.             the following arguments:
  2018.                   a)  Envelope: The components of this argument shall be as  prescribed
  2019.                      for performance of the Originate EDIN abstract operation with the
  2020.                      following exceptions:
  2021.                      1)   Priority:  As  specified  by  Message  Delivery's   Envelope
  2022.                          argument.
  2023.                      2)  Per-message-indicators: A local matter, except that conversion- 
  2024.                          prohibited shall be among the values specified.
  2025.                      3)  Per-recipient-fields: A  single  field  whose  Recipient-name
  2026.                          component shall be the Originator-name  component  of  Message
  2027.                          Delivery's Envelope argument, or if the EDIN Receiver field is
  2028.                          present, the EDIN Receiver as specified by the  originator  of
  2029.                          the message.
  2030.                   NOTE - If the OR Name in the EDIN Receiver field is not  valid,  then
  2031.             the UA cannot submit the EDIN. Procedures to be followed in this case are a
  2032.             local matter.
  2033.                   b)  Content: Determined from the PN as specified in .
  2034.             17.3.2      Refusal of Responsibility
  2035.                   A UA shall refuse to accept Responsibility when a message  cannot  be
  2036.             successfully passed from the UA to the user. A  UA  may  refuse  to  accept
  2037.             Responsibility when forwarding was unsuccesful (see c) of ). The  UA  shall
  2038.             follow the procedures below for each candidate message under the  following
  2039.             conditions:
  2040.                   a)  The EDIM requests an NN of the UA's user  by  means  of  the  EDI
  2041.                      Notification Requests field  of  the  subject  EDIM's  Recipients
  2042.                      field.
  2043.                   b)  The EDIM is not forwarded.
  2044.                   NOTE - See also  on forwarding.
  2045.             17.3.2.1    Construction of NN
  2046.                   The UA shall construct an NN if, and only if,  one  is  requested  by
  2047.             means of  the  EDI  Notification  Requests  field  of  the  subject  EDIM's
  2048.             Recipients field and in accordance with 
  2049.                   The NN shall have the common fields prescribed for Construction of PN
  2050.             (see ).
  2051.                   The NN shall have the following fields:
  2052.                   a)  Negative Reason Code: The reason why Responsibility for the  EDIM
  2053.                      was refused.
  2054.                   b)  Optionally, supplementary information that  adds  information  to
  2055.                      the reason given.
  2056.             17.3.2.2    Submission of NN
  2057.                   The UA shall submit  the  NN  (if  any)  above  by  invoking  Message
  2058.             Submission. Its Envelope argument shall be as prescribed for Acceptance  of
  2059.             Responsibility (see ), its Content  argument  determined  from  the  NN  as
  2060.             specified in .
  2061.                   NOTE - If the OR Name in the EDIN Receiver field is not  valid,  then
  2062.             the UA cannot submit the EDIN. Procedures to be followed in this case are a
  2063.             local matter.
  2064.             17.3.2.3    Handling of received EDIM
  2065.                   The received EDIM for which the UA refuses Responsibility  shall  not
  2066.             be made available to the user.
  2067.             17.3.3      EDI Forwarding
  2068.                   The    procedures    defined    in    this     paragraph     describe
  2069.             glEDI Forwarding.
  2070.                   NOTE - Fo            the   term   "glforwarding"    is    used
  2071.                   in this Recommendation as a synonym for "EDI Forwarding".
  2072.                   A user may instruct its UA to  forward  received  messages  based  on
  2073.             local criteria. A user may also instruct its UA  to  automatically  forward
  2074.             requests for notifications together with the forwarded message.  A  message
  2075.             shall not be forwarded  when  Responsibility  for  that  message  has  been
  2076.             refused. When Responsibility for a message has been refused, an NN shall be
  2077.             generated, if and only if one has been requested.
  2078.                   In order to forward an EDIM, the UA creates a new  EDIM  with  a  new
  2079.             Heading and in  the  Primary  Body  Part  encapsulates  the  received  EDIM
  2080.             (Heading and Body) and optionally the  envelope  of  the  received  message
  2081.                   using the body part type EDIM Body Part (see ).
  2082.                   Figure  illustrates forwarding with an example.
  2083.                       import F5.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  2084.                                               FIGURE 
  2085.                                        Forwarding
  2086.                   The       glsubject    EDIM    refers    to    the    received
  2087.                   EDIM  that  is  being   forwarded.   The   term   glforwarding
  2088.                   EDIM   refers   to   the    new    EDIM    that    is    being
  2089.                   created, and that will include all  or  part  of  the  subject
  2090.                   EDIM, in accordance with .
  2091.                   Unless overridden by specific  rules  below,  or  by  the
  2092.             requirements of the security policy in  force,  the  following
  2093.             general rules apply to the creation of the Heading  fields  of
  2094.             the forwarding EDIM:
  2095.                   -   All mandatory Heading fields and any optional fields whose values
  2096.                      are changed with respect to the values  present  in  the  subject
  2097.                      EDIM shall be present.
  2098.                   -   Heading fields whose values are unchanged and whose ASN.1 type is
  2099.                      DEFAULT shall be copied from the  subject  EDIM  Heading  to  the
  2100.                      forwarding EDIM Heading if the field is present  in  the  subject
  2101.                      EDIM Heading and the value in the field is other that  the  value
  2102.                      specified as DEFAULT in .
  2103.                   -   Other Heading fields need not be copied.
  2104.                   EDI Forwarding is done by the MS if the UA has an  MS,  otherwise  by
  2105.             the UA.
  2106.                   EDI Forwarding may take two forms:
  2107.                   a)  Forwarding of message and Responsibility not accepted.
  2108.                   b)  Forwarding of message and Responsibility accepted.
  2109.                   EDI Forwarding may take place even  if  no  notifications  have  been
  2110.             requested. This is equivalent to form b) above.
  2111.                   The UA shall, subject to the instructions given by the user,  forward
  2112.             messages as follows.
  2113.             17.3.3.1    Forwarding of message and Responsibility not accepted
  2114.                   Forwarding a message without accepting Responsibility of the  message
  2115.             implies the following:
  2116.                   a)  The Primary Body Part of the new message is the  content  of  the
  2117.                      subject message unchanged.  The delivery envelope of the received
  2118.                      EDIM shall be included if security notifications are requested.
  2119.                   Responsibil 
  2120.                      Responsibility is allowed by the originator, the EDI Notification
  2121.                      Request is forwarded unchanged with the new message to  one,  and
  2122.                      only one, of the recipients of the new message.  The value of the
  2123.                      Responsibility Forwarded field shall be set to TRUE.
  2124.                   c)  If the forwarding  fails  (i.e  a  Non  delivery  report  on  the
  2125.                      forwarded message is returned) within  a  given  period  of  time
  2126.                      (either specified by the originator in Expiry Time or as a  local
  2127.                      decision in the MS or UA,  with  priority  given  to  the  Expiry
  2128.                      Time), the UA may send a Negative Notification, NN, back  to  the
  2129.                      originator.
  2130.                   d)  If the EDI Notification Requests  field  of  the  subject  EDIM's
  2131.                      Recipients field requests FN, an FN EDIN shall be  sent  back  to
  2132.                      the specified EDIN Receiver, or to the originator of the EDIM, if
  2133.                      no EDIN Receiver is specified.
  2134.                   The delivery envelope of the received message shall  be  included  in
  2135.             the new EDIM if the received EDIM's Primary Body Part is  not  a  Forwarded
  2136.             EDIM.
  2137.                   It is possible to forward a message more than once.
  2138.                   A message may be forwarded to multiple recipients.
  2139.                   The originator of a message may prohibit passing of Responsibility by
  2140.             setting the Responsibility Passing Allowed field to  the  value  FALSE.  In
  2141.             this case, if the UA cannot accept Responsibility and  NN  Notification  is
  2142.             requested, the UA shall submit an NN EDIN with appropriate reason code.  If
  2143.             the UA cannot accept Responsibility and NN Notification is  not  requested,
  2144.             then no EDIN shall be submitted.
  2145.             17.3.3.2    Forwarding of message and Responsibility accepted
  2146.                   Forwarding a message and  accepting  Responsibility  of  the  message
  2147.             implies the following:
  2148.                   a)  The Primary Body Part of the new message is the  content  of  the
  2149.                      subject message changed or unchanged. This type of forwarding  is
  2150.                      less restricted and may  include  removal  or  addition  of  body
  2151.                   parts.
  2152.                   NOTE 1 - If the delivery envelope of the received message is included
  2153.             in the forwarded message, and if that envelope contained  security  fields,
  2154.             and if body parts are added or removed, then the  security  fields  may  no
  2155.             longer be valid.
  2156.                      The following rules apply with respect to removal of body parts:
  2157.                      1)  A forwarded EDIM Body Part shall not be removed.
  2158.                      has 
  2159.                          has been removed (see ).
  2160.                      3)  Body Part Place Holders shall be inserted  where  other  body
  2161.                          parts have been removed (see ).
  2162.                      4)  the Incomplete Copy Indicator field shall be set to "TRUE" if
  2163.                          Body Parts are removed.
  2164.                   b)  If the EDI Notification Requests  field  of  the  subject  EDIM's
  2165.                      Recipients field requests Positive Notification, a PN EDIN  shall
  2166.                      be sent back to the specified EDIN Receiver, or to the originator
  2167.                      of the EDIM, if no EDIN Receiver is specified.
  2168.                   c)  A Forwarded Notification, FN, shall  not  be  sent  back  to  the
  2169.                      originator of the message.
  2170.                   d)  The Responsibility Forwarded field shall not be present.
  2171.                   NOTE 2 - By scanning the successive nested Headings of an  EDIM  that
  2172.             contains a forwarded EDIM, the final recipient UA can  determine  from  the
  2173.             setting of the  Responsibility  Forwarded  field  at  which  point  in  the
  2174.             forwarding chain Responsibility was accepted.
  2175.             17.3.3.3    Prevention of loops
  2176.                   The UA shall suppress forwarding if, and only  if,  the  EDIM  to  be
  2177.             forwarded itself contains a forwarding EDIM that the UA previously created.
  2178.             Forwarding  shall  be  suppressed  whenever  the  forwarding  EDIM  appears
  2179.             (directly) in a body part of the EDIM to be forwarded,  or  (nested)  in  a
  2180.             body part of the EDIM that appears in such a body part.
  2181.                   The UA shall consider itself to  have  created  the  forwarding  EDIM
  2182.             above if, and only if, the OR Name component of a  This  EDIM  Field  in  a
  2183.             forwarded EDIM matches the OR Name of the UA's user.
  2184.                   NOTE  -  Forwarding  an  EDIM  of  the  kind  described  above  would
  2185.             constitute an EDI Forwarding "loop".
  2186.             17.3.3.4    Construction of EDIM
  2187.                   The UA shall construct a forwarding  EDIM  whose  Primary  Body  Part
  2188.             comprises a body part of type EDIM  Body  Part.  Additionally,  other  body
  2189.             parts may be added, and body parts may be removed.
  2190.                   The Heading shall have the following components:
  2191.                   a)  This EDIM: New value generated.
  2192.                   b)  Originator: OR Name of the forwarding user.
  2193.                   c)  Recipients: The recipients to which the EDIM shall be forwarded.
  2194.                   d)  Incomplete Copy: If present in the Heading of the subject EDIM.
  2195.                   If Responsibility is not accepted, the following  rules  relating  to
  2196.             the components of the EDIM Heading apply:
  2197.                   e)  EDIN Receiver Field: shall  be  present  and  shall  contain  all
  2198.                      optional fields. If the subject EDIM contains  an  EDIN  Receiver
  2199.                      Field, the fields of the EDIN Receiver Field  of  the  forwarding
  2200.                      EDIM shall have the values of the fields  of  the  EDIN  Receiver
  2201.                      Field of the subject EDIM. If optional fields  are  missing  from
  2202.                      the EDIN Receiver Field of the subject EDIM, or  if  the  subject
  2203.                      EDIM does not contain an EDIN Receiver Field, then the fields  of
  2204.                      the EDIN Receiver Field of the forwarding  EDIM  shall  have  the
  2205.                      following values:
  2206.                      1)  Edin-receiver: Originator of subject EDIM.
  2207.                      2)  Original-edim-identifier: This EDIM field of subject EDIM.
  2208.                      3)  First-recipient: OR Name of the UA to which the subject  EDIM
  2209.                          was first sent by the original originator. This is the OR Name
  2210.                          of the forwarding UA (which is performing the first forwarding
  2211.                          operation), unless the MTA has performed redirection.  In case
  2212.                          of redirection, the correct First Recipient OR  Name  must  be
  2213.                          obtained  from  the  Intended  Recipient  Name  field  of  the
  2214.                          delivery envelope (see 8.3.1.1.1.4 of Recommendation X.411).
  2215.                   f)  EDI Notification Request (sub-field of Recipients):  The  UA  may
  2216.                      forward  the  EDIM  to  several  recipients  by   simply   adding
  2217.                      recipients to the Recipients field. If EDI Notification  Requests
  2218.                      are present in the subject EDIM, the UA shall set  identical  EDI
  2219.                      Notification Requests for one, and only one, of  the  recipients.
  2220.                      One, and only one, of  the  UAs  to  whom  the  subject  EDIM  is
  2221.                      forwarded will receive the EDI Notification Requests contained in
  2222.                      the subject EDIM.
  2223.                   g)  Expiry Time: may be  set  to  a  value  different  to  the  value
  2224.                      indicated in the subject EDIM.
  2225.                   h)  All other Heading fields shall follow the general rules in .
  2226.                   If Responsibility is accepted, the EDIM Heading shall comply with a),
  2227.             b) and c) above and with the following rules:
  2228.                   i)  EDIN Receiver Field: may be absent or  present.  If  present,  it
  2229.                      shall contain only the following value:
  2230.                      1)  Edin-receiver: OR Name of the desired EDIN Receiver.
  2231.                   j)  Other fields may be added (including EDI Notification Requests).
  2232.                   Other fields apart from those especially  mentioned  above  may,  but
  2233.             need not, be copied from the Heading of the subject EDIM to the Heading  of
  2234.             the new EDIM (except that the Original EDIM Identifier and First  Recipient
  2235.             sub-fields of the EDIN Receiver Field shall not be present).
  2236.                   NOTE - If several recipients have the same OR Name, and notifications
  2237.             were requested from each, then the original originator may  receive  EDIN's
  2238.             which have identical Subject EDIM, EDIN  Originator,  and  First  Recipient
  2239.             fields.
  2240.                   The Primary Body Part shall be of type EDIM Body Part and shall  have
  2241.             the following components:
  2242.                   k)  Parameters: The Envelope argument of Message Delivery.
  2243.                   l)  Data: The EDIM to be forwarded.
  2244.             17.3.3.5    Submission of EDIM
  2245.                   The UA shall submit the EDIM it constructed above by invoking Message
  2246.             Submission with the following arguments:
  2247.                   a)  Envelope: The components of this argument shall be as follows:
  2248.                      1)  Originator-name: The OR Name of the UA's user.
  2249.                      2)     Content-type    and    Original-encoded-information-types:
  2250.                          Determined from the EDIM as specified in  and .
  2251.                      3)  Content-identifier: Specified or omitted as a local matter.
  2252.                      4)   Priority:  As  specified  by  Message  Delivery's   Envelope
  2253.                          argument.
  2254.                      5)  Per-message-indicators and Extensions: A local matter.
  2255.                      6)  Deferred-delivery-time: Omitted.
  2256.                      7)  Per-recipient-fields: Their Recipient-name components shall be 
  2257.                          the OR Names that the message shall  be  forwarded  to.  Their
  2258.                          other components are a local matter.
  2259.                   b)  Content: Determined from the EDIM as specified in .
  2260.             17.3.3.6    Construction of FN
  2261.                   The UA shall construct an FN if, and only if,  one  is  requested  by
  2262.             means of  the  EDI  Notification  Requests  field  of  the  subject  EDIM's
  2263.             Recipients field and the user is not willing to accept  Responsibility  for
  2264.             the message and forwards the request for notification.
  2265.                   The FN shall have the common fields as prescribed for  acceptance  of
  2266.             Responsibility (See ).
  2267.                   The FN shall have the following forwarding fields:
  2268.                   a)  Forwarded To: the OR Name of the recipient to  whom  the  request
  2269.                      for  notification was forwarded.
  2270.                   forw 
  2271.                      forwarded.
  2272.                   c)  Optionally, supplementary information that  adds  information  to
  2273.                      the reason given.
  2274.             17.3.3.7    Submission of FN
  2275.                   The UA shall submit  the  FN  (if  any)  above  by  invoking  Message
  2276.             Submission. Message Submission's Envelope argument shall be  as  prescribed
  2277.             for acceptance of Responsibility (See ), its  Content  argument  determined
  2278.             from the FN as specified in .
  2279.                   NOTE - If the OR Name in the EDIN Receiver field is not  valid,  then
  2280.             the UA cannot submit the EDIN. Procedures to be followed in this case are a
  2281.             local matter.
  2282.             18.Message Store operation
  2283.                   Recommendation X.413 defines  the  abstract  service  for  a  general
  2284.             content independent Message Store (MS).   The  MS  is  an  optional  system
  2285.             component in an MHS. The MS is asssociated with a user's UA.  The user  can
  2286.             submit messages through it and retrieve messages that have  been  delivered
  2287.             to the MS.  In addition,  the  MS  can  perform  certain  predefined.  auto
  2288.             actions on the UA's behalf.
  2289.                   NOTE - Because the MS is an optional system component in an MHS,  use
  2290.             of the word  "shall"  with  respect  to  MS  specifications  shall  not  be
  2291.             construed as mandating the provision of an MS or the services it  provides.
  2292.             Use of the  word  "shall"  with  respect  to  MS  specifications  shall  be
  2293.             construed as mandating the specifications of an MS, if one is provided.
  2294.                   All the abstract operations, general attribute types and general auto
  2295.             actions types defined in Recommendation X.413 are also available for use by
  2296.             EDI messages.
  2297.                   An MS may optionally offer additional support for the  EDI  messaging
  2298.             specific attribute types and auto actions, which would qualify it as an EDI
  2299.             messaging specific MS (EDI MS).  These additional definitions are given  in
  2300.             what follows.
  2301.             18.1Binding to the MS
  2302.                   Binding to the MS  is  described  in  7.1  of  Recommendation  X.413.
  2303.             Attention should be given to the following points when using the MS for EDI
  2304.             messaging.
  2305.             18.1.1      Abstract-bind argument
  2306.                   The following parameters from  7.1.1  of  Recommendation  X.413  have
  2307.             special meaning in this Recommendation:
  2308.                   a)  Fetch-restrictions
  2309.                   The name of the object identifier for the EDI conte t  type  is  "id-
  2310.                   mct-pedi", the value is defined in Annex A.
  2311.                   b)  Allowed-EITs
  2312.                   The names of the object  identifiers  so  far  standardized  in  this
  2313.                   Recommendation are defined in Annex A.  See also .
  2314.             18.2Abstract-bind result
  2315.                   The following  parameter  from  7.1.2  of  Recommendation  X.413  has
  2316.             special meaning for this Recommendation:
  2317.                   -   Available-auto-actions
  2318.                   NOTE  -  The  use  of  the  general  auto  action  "auto-forward"  is
  2319.             discouraged for use with EDIMs.  Instead the EDI  messaging  specific  auto
  2320.             actions "edi-forward-with-responsibility-accepte "  and  "edi-forward-with-
  2321.             responsibility-not-accepted" should be used.
  2322.             18.3Creation of Information Objects
  2323.                   An MS  shall  satisfy  the  following  requirements  related  to  the
  2324.             information objects it maintains:
  2325.                   a)  The MS shall maintain a  separate  information  object  for  each
  2326.                      message containing an EDIM or EDIN that is delivered to it.
  2327.                   b)  The MS shall maintain as a separate information object  not  only
  2328.                      each message containing a forwarding EDIM (pursuant  to  Item  a)
  2329.                      but also each message containing a forwarded EDIM (recursively).
  2330.                   c)  The MS shall assign sequence  numbers  to  the  messages  in  the
  2331.                      hierarchy formed by a forwarding EDIM and  its  forwarded  EDIMs.
  2332.                      The lowest number  shall be assigned to the  outermost  level  of
  2333.                      the hierarchy.
  2334.                   The general (content independent) attributes  that  may  occur  in  a
  2335.             stored-messages information-base are documented  in  Recommendation  X.413.
  2336.             All content-independent MS attributes can be used for the  content  defined
  2337.             in this Recommendation.  The EDI specific  attributes  for  stored-messages
  2338.             are defined in .  All general attribute types classified as "mandatory"  in
  2339.             Table 1 of Recommendation X.413 shall be supported.
  2340.             18.3.1      Mapping of an MHS message in MS
  2341.                   NOTE - In what follows, reference is made to an "MHS  message".  This
  2342.             is not be confused with the term "message", which refers to an EDIM.
  2343.                   Numbe 
  2344.             Number, a Creation Time for the entry, the Interchange Length etc. It  then
  2345.             generates attributes based on protocol elements in the MHS Envelope, in the
  2346.             Heading and  one  attribute  containing  the  whole  EDI  Interchange.  The
  2347.             attribute EDI Body Part Type signals which  EDI  Standard  has  been  used.
  2348.             Similarly, other Body Parts will be mapped into one or  several  additional
  2349.             attributes.
  2350.                   Figure  describes how an MHS message with an EDIM is  mapped  into  a
  2351.             corresponding MS entry.
  2352.                       import F6.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  2353.                                               FIGURE 
  2354.                             MHS Message with EDIM - Mapping in MS
  2355.             18.3.2      Mapping of forwarded messages in MS
  2356.                   A forwarded EDIM is mapped into the Message Store as one  main  entry
  2357.             and one or more linked child entries. The final child  entry  will  contain
  2358.             the original EDIM (with its interchange and any additional body parts).
  2359.                   The MS Structure of a forwarded message such as the message in Figure
  2360.             is depicted in Figure .
  2361.                       import F7.XGL /c 6.27";4.6";HPGLError! Cannot open file.
  2362.                                               FIGURE 
  2363.                                   Forwarded message in MS
  2364.             18.4Maintenance of Attributes
  2365.                   An  MS  shall  satisfy  the  following  requirements  related  to  MS
  2366.             attributes:
  2367.                   a)  For each EDIM  or  EDIN  it  holds,  the  MS  shall  support  the
  2368.                      attributes of  as specified therein.
  2369.                   b)  For each EDIM it holds, the MS shall give the following  meanings
  2370.                      to the defined values of the MS-status attribute:
  2371.                      1)  new: No attribute values have been conveyed to the UA.
  2372.                      2)  listed: At least one attribute value has been conveyed to the
  2373.                          UA, and at least one body part value has not been conveyed  to
  2374.                          the UA.
  2375.                      3)  processed: All body parts have been conveyed to the UA or the
  2376.                          MS has performed an auto action.
  2377.                   c)  For each EDIN it holds, the MS shall give the following  meanings
  2378.                      to the defined values of the MS-status attribute:
  2379.                      1)  new: No attribute values have been conveyed to the UA.
  2380.                      2)  listed: At least one attribute value has been conveyed to the
  2381.                          UA, and at least one attribute value has not been conveyed  to
  2382.                          the UA.
  2383.                      3)  processed: All attributes have been conveyed to the UA or the
  2384.                          MS has performed an auto action.
  2385.                   d)  The MS-status attribute shall reflect the state of affairs  prior
  2386.                      to an abstract operation invocation that alters its value.
  2387.                   e)  The Content Type attribute of each message containing an EDIM  or
  2388.                      EDIN that is delivered to the MS shall have as value  the  Object
  2389.                      Identifier id-mct-edi (see Annex A).
  2390.             18.5Negative Notification
  2391.                   When it  discards  an  EDIM  while  performing  the  Delete  abstract
  2392.             operation of the MS Abstract Service, the MS shall submit an NN if  one  is
  2393.             requested and the EDIM's MS-status attribute has the value listed.
  2394.             18.6Auto Action Types
  2395.                   The  concept  of  auto  actions  is  described  in  6.5  and  12   of
  2396.             Recommendation X.413.  This defines two general auto  action  types,  which
  2397.             can potentially be used for all content-types. However, the  "auto-forward"
  2398.             auto action defined in there is not well suited for the  EDIM  content-type
  2399.             and its use for EDI messaging is  discouraged.  Instead,  a  specific  auto
  2400.             action, for EDI Forwarding is defined below.
  2401.                   The auto-alert auto action defined in 12.2  of  Recommendation  X.413
  2402.             can be used for EDI messaging without any restrictions.
  2403.                   Auto actions are registered and deregistered  using  the  Register-MS
  2404.             abstract operation as described in 8.6 of Recommendation X.413.
  2405.                   The EDI-auto-forward auto action is described in the  following.  The
  2406.             operation of this auto action may be affected by the  implementation  of  a
  2407.             security policy.
  2408.                   The auto action is described below together with its abstract  syntax
  2409.             using the AUTO-ACTION macro is defined in 6.5 of Recommendation X.413.  The
  2410.             definition of EDI-auto-forward auto actions are defined below.
  2411.                   The EDI-auto-forward allows EDIMs to be forwarded  as follows:
  2412.                   -   forwarding-with-responsibility-not-accepted, which means that the
  2413.                      EDI responsibility is forwarded. See a) of ;
  2414.                   -   forwarding-with-responsibility-accepted, which means that the EDI
  2415.                      responsibility is accepted. See b) of ;
  2416.                   responsibili 
  2417.                responsibility-accepted.
  2418.                If EDI Security  Requests  are  present,  then  the  EDI-auto-forward
  2419.           actions defined above may be prohibited, subject to the security policy  in
  2420.           force.  If EDI Security Requests  are  present  then  the  EDI-auto-forward
  2421.           action "forwarding-with-responsibility-accepted" shall not be performed.
  2422.                The EDI-auto-forwa d  allows  one  or  more  sets   of   EDI-forward-
  2423.           registration-parameters to be registered with the MS,  each  identified  by
  2424.           its   registration-identifier.   Each    EDI-forward-registration-parameter
  2425.           specifies criteria to determine whether it applies to a delivered EDIM, and
  2426.           if so, a copy of t e  message  is  EDI-auto-forwarded  using  the  Message-
  2427.           submission abstract operation. The  delivered  EDIM  may  be  automatically
  2428.           deleted afterwards. Below is the ASN.1 definition of  the  edi-auto-forward
  2429.           AUTO ACTION:
  2430.                .D.X435B.DOC,a01
  2431.                a01 moedi-auto-forwardmo:edi-auto-forward AUTO-ACTION
  2432.                REGISTRATION PARAMETER IS 
  2433.                EDIForwardRegistrationParameter
  2434.                ::= id-act-edi-auto-forward
  2435.                moEDIForwardRegistrationParametermo:EDIForwardRegistration 
  2436.                  Parameter ::= SEQUENCE {
  2437.                filter                   [0] Filter OPTIONAL,
  2438.                edi-supplementary-info  [1] EDISupplementaryInfo 
  2439.                OPTIONAL,
  2440.                delete-after-forwarding      [2] BOOLEAN DEFAULT FALSE,
  2441.                edi-forwarding-mode    CHOICE {
  2442.                   forwarding-with-responsibility-not-accepted    [3] 
  2443.                ForwardWithRespForwarded,
  2444.                   forwarding-with-responsibility-accepted         [4] 
  2445.                ForwardWithRespAccepted }
  2446.           .D.
  2447.                NOTE - The data types Filter, Per Message Auto Forward Fields and Per
  2448.           Recipient Auto Forward Fields  are defined in 12.1 of Recommendation X.413.
  2449.                The common parameters of the EDI Forward Registration Parameter  have
  2450.           the following meanings:
  2451.                a)  Filter: This is a set of criteria which a new entry  representing
  2452.                   a delivered EDIM  shall  satisfy  for  the  MS  abstract  service
  2453.                   provider to auto forward it using this set of parameters.
  2454.                   The absence of this parameter indicates that all new  entries  are
  2455.                   to be examined for potential auto forwarding.
  2456.                   NOTE - Substrings in  filters  cannot  be  defined  for  composite
  2457.                   attributes  (attributes  with  further  ASN.1  structure  in  the
  2458.                   attribute value) in the present version of Recommendation X.413.
  2459.                b)  Edi-supplementary-info: This parameter can  contain  text  to  be
  2460.                   included in the EDIN supplementory field of an EDIN  and  in  the
  2461.                   other-parameters field of a forwarded EDIM.
  2462.                h 
  2463.                   has succeeded. If not specified, no deletion takes place.
  2464.                d)  Edi-forwarding-type: This is a choice between:
  2465.                   1)  forwarding-with-responsibility-not-accepted,
  2466.                   2)  forwarding-with-responsibility-accepted,
  2467.                The remaining parameters are described separately for the three cases
  2468.           below.
  2469.           18.6.1      Forwarding With Responsibility Not Accepted
  2470.                The forwarding-with-responsibility-not-accepted case enables  the  MS
  2471.           abstract service provider to automatically forward, with EDI Responsibility
  2472.           forwarded, any EDIM  that  has  been  delivered  into  the  stored-messages
  2473.           information base.  The use of this auto action  shall  be  subject  to  the
  2474.           requirements of the security policy in force.   The  MS  shall  follow  the
  2475.           rules in . Appropriate values are added in the EDI Notification  Indication
  2476.           attribute.
  2477.                The following limitations apply to forwarding-with-responsibility-not
  2478.           accepted, when compared to the general rules for forwarding contained in :
  2479.                a)  The forwarding-with-responsibility-not-accepted auto action  type
  2480.                   shall only be performed once for a particular EDIM  by  the  same
  2481.                   MS.
  2482.                b)  Only one recipient shall be specified  for  the  forwarding  auto
  2483.                   action.
  2484.                                                             moForwardWithRespNotAccepted ::= SET {
  2485.                COMPONENTS OF PerMessageAutoForwardFields, -- from 
  2486.                envelope PerMessageFields
  2487.                per-recipient-field   [3] PerRecipientAutoForwardFields,
  2488.                notification-argument [4] NotificationArguments OPTIONAL 
  2489.                }
  2490.                   moNotificationArguments ::= SET {
  2491.                   COMPONENTS OF PerMessageAutoForwardFields, -- from 
  2492.                   envelope PerMessageFields
  2493.                   per-recipients-field  [3] SEQUENCE SIZE (1..ub- 
  2494.                   recipients) OF
  2495.                                         PerRecipientAutoForwardFields }
  2496.                               The following ASN.1 data type  defines  the  parameters  specific  to  this
  2497.             case:
  2498.             c)  PerMessageAutoForwardFields:
  2499.             This is a set of arguments registered to be  used  for  each  message
  2500.             submission  abstract  operation  (see  8.2.1.1.1  of   Recommendation
  2501.             X.411). Any argument which is  not  registered,  not  mandatory,  and
  2502.             not  specifically  mentioned  below,  will  be   absent   from   each
  2503.             message submission.
  2504.                If  the  following  arguments  are  either  not   registered,   or
  2505.                      registered with their default values, the values  used  for  each
  2506.                      message  submission  abstract  operation   are   those   of   the
  2507.                      corresponding messa e  delivery  arguments:  priority,  implicit-
  2508.                      conversion-prohibited, and conversion-with-loss-prohibited.
  2509.                If the following argument is either not registered, or  registered
  2510.                      with their default values, their presence as  message  submission
  2511.                      arguments depends upon the presence of the corresponding  message
  2512.                      delivery  arguments,  their  values   being   transformed   where
  2513.                      appropriate: message-security-label.
  2514.                The following arguments have fixed values: 
  2515.                      1)  DL-expansion-prohibited, value DL-expansion-prohibited
  2516.                      2)  implicit-conversion-prohibite :  value   implicit-conversion-
  2517.                          prohibited
  2518.                      3)  conversion-with-loss-prohibited: val e  conversion-with-loss-
  2519.                          prohibited
  2520.                      Certain message submission  arguments  may  be  registered.  These
  2521.                      are: proof-of-submission-reques ,   original-encoded-information-
  2522.                      types and content-type.
  2523.                   d)  PerRecipientAutoForwardFields:
  2524.                   This is a set of arguments registered to be  used  for  each  message
  2525.                   submission  abstract  operation  (see  8.2.1.1.1  of   Recommendation
  2526.                   X.411). Any argument which is  not  registered,  not  mandatory,  and
  2527.                   not  specifically  mentioned  below,  will  be   absent   from   each
  2528.                   message submission.
  2529.                      The following argument have a fixed value: 
  2530.                      1)  originator-report-request: this shall have either  the  value
  2531.                          non-delivery-report or the value report.
  2532.                         Only one recipient is allowed for this case.
  2533.                   e)  Notification-argument: 
  2534.                   This contains the same parameters as in c)  and  d)  above,  but  the
  2535.                   actual values can differ from the values in the forwarded EDIM.
  2536.             18.6.2      Forwarding with responsibility accepted
  2537.                   The  forwarding-with-responsibility-accepted  case  enables  the   MS
  2538.             abstract service provider to  automatically  forward,  with  Responsibility
  2539.             accepted, any  EDIM  that  has  been  delivered  into  the  stored-messages
  2540.             information base.  The use of this auto action  shall  be  subject  to  the
  2541.             requirements of the security policy in force. The MS shall follow the rules
  2542.             in . Appropriate values  are  added  in  the  EDI  Notification  Indication
  2543.             attribute.
  2544.                   acce 
  2545.             accepted, when compared to the general rules for forwarding contained in :
  2546.                   a)  The MS shall construct and forward an  EDIM  whose  primary  body
  2547.                      part comprises a body part of type EDIM body part as described in
  2548.                      , however no body parts shall be removed or added,  the  original
  2549.                      delivery envelope shall be included and  the  components  of  the
  2550.                      original Heading shall be copied to the Heading of the forwarding
  2551.                      EDIM according to the rules in ; with the following exceptions:
  2552.                      1)   The  "recipient"  parameter  value  is  set  to   the   next
  2553.                          "recipient".
  2554.                      2)  Any registered values for Heading fields shall replace the old 
  2555.                          values in the new Heading.
  2556.                   .D.X435B.DOC,a03
  2557.                   a03 moForwardWithRespAcceptedmo:ForwardWithRespAccepted 
  2558.                   ::= SET {
  2559.                   COMPONENTS OF PerMessageAutoForwardFields, -- from 
  2560.                   envelope PerMessageFields
  2561.                   per-recipients-field   [3] SEQUENCE SIZE (1..ub- 
  2562.                   recipients) OF
  2563.                                              PerRecipientAutoForwardFields,
  2564.                   notification-argument [4] NotificationArguments 
  2565.                   OPTIONAL,
  2566.                   heading-fields          [5] HeadingFields OPTIONAL }
  2567.                   moHeadingFieldsmo:HeadingFields ::= SEQUENCE {
  2568.                   new-edin-receiver-name  [0] ORName OPTIONAL,
  2569.                   next-recipient          [1] RecipientField,
  2570.                   next-recipient-action-request     [2] ActionRequestField 
  2571.                   DEFAULT {id-for-action},
  2572.                   next-recipient-edi-notification-requests-field   [3] 
  2573.                   EDINotificationRequestsField OPTIONAL,
  2574.                   next-responsibility-passing-allowed    [4] 
  2575.                   ResponsibilityPassingAllowedField DEFAULT FALSE }
  2576.             .D.
  2577.                   The following ASN.1 data type defines the parameters specific to this
  2578.             case:
  2579.                   b)  PerMessageAutoForwardFields:
  2580.                   The description is the same as in c) of .
  2581.                   c)  PerRecipientAutoForwardFields
  2582.                   The description is the same as in d) of .
  2583.                      Multiple recipients are allowed for this case.
  2584.                   d)  Notification-argument: 
  2585.                   The description is the same as in e) of .
  2586.                   e)  HeadingFields:
  2587.                   New values may be defined for:
  2588.                      1)  "new-edin-receiver-name" to replace  "edin-receiver-name"  in
  2589.                          EDIN Receiver Field.
  2590.                      Field 
  2591.                          Field.  This field is mandatory.
  2592.                      3)  "next-recipient-action-request" to replace "recipient-action 
  2593.                          request" in Recipients Sub Field.
  2594.                      4)  "next-recipient-edi-notification-requests-field"  to  replace
  2595.                          "recipient-edi-notification-requests-field" in Recipients  Sub
  2596.                          Field.
  2597.                      5)      "next-responsibility-passing-allowed"     to     "replace
  2598.                          responsibility-passing-allowed" in Recipients Sub Field.
  2599.             18.7Message Store Attributes
  2600.                   As described in Recommendation X.413, an MS  maintains  and  provides
  2601.             access to certain attributes  of  each  information  object  it  holds.  An
  2602.             attribute comprises a type and,  depending  upon  the  type,  one  or  more
  2603.             values.  Attributes that may  assume  several  values  simultaneously  (all
  2604.             pertaining to one object) are termed multi-valued, those  that  may  assume
  2605.             just one value, single-valued.   Some  attributes  pertain  to  information
  2606.             objects of all kinds, others only to those of e.g. EDI messaging kind.
  2607.                   The following defines the MS attributes specific  to  EDI  messaging.
  2608.             EDI specific attributes are defined below.
  2609.                   All of the attributes defined in this  Recommendation,  except  those
  2610.             corresponding to extended body part types (which cannot be enumerated), are
  2611.             listed alphabetically, for reference, in the first column of Table 1.  This
  2612.             table records their presence in a delivered message entry.   None  of  them
  2613.             appears in a delivered report entry.  Additional,  unnamed  attributes  are
  2614.             described in .  Table 2 describes how the EDI attributes are generated.
  2615.                   NOTE - See  and  for an elaboration of the legend of the tables.
  2616.                                               TABLE 1
  2617.  
  2618.                                       Summary of EDI specific MS Attribute Types
  2619.               Attribute                  Single/ Support PresencePresencePresencePresenceAvailableAvail 
  2620.             able
  2621.                                           Multi   level by   in   in in   infor list,for
  2622.                                           valued  MS and  delivereddelivereddelivered   delivered alert 
  2623.             summarize
  2624.                                              UA   EDIM    PN NN   FN
  2625.               acknowledgement-request-   S  O    P  -    -  -    Y  N
  2626.                      for-this-recipient                               
  2627.                action-request-            S  O    P  -    -  -    Y  N
  2628.                      for-this-recipient                               
  2629.                application-reference      S  O    C  -    -  -    Y  N
  2630.                authorization-information- S  O    C  -    -  -    Y  N
  2631.                      for-this-recipient                               
  2632.               body                       S  M    P  -    -  -    N  N
  2633.               communications-agreement-id-  S    O  C    -  -    -  Y    N
  2634.                      for-this-recipient                               
  2635.                cross-referencing-information M    O  C    -  -    -  Y    N
  2636.               date-and-time-of-preparation  S    M  C    -  -    -  Y    N
  2637.               edi-application-security-elements  S  O    C  -    -  -    Y  N
  2638.                edi-application-security-extentions   M    O  C    -  -    -  Y    N
  2639.                edi-body-part              S  M    P  -    -  -    N  N
  2640.                edi-bodypart-type          S  M    P  -    -  -    Y  Y
  2641.                edi-message-type           M  M    C  -    -  -    Y  N
  2642.                edi-notification-indicator M  O    -  -    -  -    Y  N
  2643.                edi-notification-requests- S  O    C  -    -  -    Y  N
  2644.                      for-this-recipient                               
  2645.                edi-notification-security- S  O    C  -    -  -    Y  N
  2646.                      for-this-recipient                               
  2647.                edi-reception-security-    S  O    C  -    -  -    Y  N
  2648.                      for-this-recipient                               
  2649.                edim-body-part             S  O    C  -    -  -    N  N
  2650.                edim-synopsis              S  O    P  -    -  -    N  N
  2651.                edims-entry-type           S  M    P  P    P  P    Y  Y
  2652.                edin-initiator             S  O    -  P    P  P    Y  N
  2653.                edin-originator            S  O    -  P    P  P    Y  N
  2654.                edin-receiver              S  O    C  -    -  -    Y  N
  2655.                expiry-time                S  O    C  -    -  -    Y  N
  2656.                externally-defined-body-part-types M  O    C  -    -  -    Y  N
  2657.               first-recipient            S  O    C  C    C  C    Y  N
  2658.                fn-extensions              M  O    -  -    -  C    Y  N
  2659.                fn-reason-code             S  O    -  -    -  P    Y  N
  2660.                fn-supplementary-information  S    O  -    -  -    C  Y    N
  2661.                forwarded-to               S  O    -  -    -  P    Y  N
  2662.               heading                    S  M    P  -    -  -    N  N
  2663.                heading-extensions         M  O    C  -    -  -    Y  N
  2664.                                         TABLE 1 (concluded)
  2665.               Attribute                  Single/ Support PresencePresencePresencePresenceAvailableAvail 
  2666.             able
  2667.                                           Multi   level by   in   in in   infor list,for
  2668.                                           valued  MS and  delivereddelivereddelivered   delivered alert 
  2669.             summarize
  2670.                                              UA   EDIM    PN NN   FN
  2671.               incomplete-copy            S  O    P  -    -  -    Y  N
  2672.                interchange-control-reference-S    M  C    -  -    -  Y    N
  2673.                      for-this-recipient                               
  2674.                interchange-lenght         S  O    P  -    -  -    Y  N
  2675.                interchange-recipient-     S  M    C  -    -  -    Y  N
  2676.                      for-this-recipient                               
  2677.                interchange-sender         S  M    C  -    -  -    Y  N
  2678.               message-data               S  O    C  -    -  -    N  N
  2679.                message-parameters         S  O    C  -    -  -    N  N
  2680.               nn-extensions              M  O    -  -    C  -    Y  N
  2681.                nn-reason-code             S  O    -  -    P  -    Y  N
  2682.                nn-supplementary-information  S    O  -    -  C    -  Y    N
  2683.                notification-security-elementsS    O  -    C  C    C  Y    N
  2684.                notification-time          S  O    -  P    P  P    Y  N
  2685.                notifications-extensions   M  O    -  C    C  C    Y  N
  2686.               obsoleted-edims            M  O    C  -    -  -    Y  N
  2687.                originator                 S  O    C  -    -  -    Y  N
  2688.               pn-extensions              M  O    -  C    -  -    Y  N
  2689.                pn-supplementary-information  S    O  -    C  -    -  Y    N
  2690.                processing-priority-code-  S  O    C  -    -  -    Y  Y
  2691.                      for-this-recipient                               
  2692.               recipient-extensions-      M  O    C  -    -  -    Y  N
  2693.                      for-this-recipient                               
  2694.                recipient-reference-       S  O    C  -    -  -    Y  N
  2695.                      for-this-recipient                               
  2696.                related-messages           M  O    C  -    -  -    Y  N
  2697.                responsibility-forwarded   S  O    P  -    -  -    Y  Y
  2698.                responsibility-passing-allowed-    S  O    P  -    -  -    Y  N
  2699.                      for-this-recipient                               
  2700.               service-string-advice      S  O    C  -    -  -    Y  N
  2701.                subject-edim               S  M    -  P    P  P    Y  N
  2702.                syntax-identifier          S  M    C  -    -  -    Y  Y
  2703.               test-indicator-            S  O    P  -    -  -    Y  Y
  2704.                      for-this-recipient                               
  2705.                this-edim                  S  M    P  -    -  -    Y  N
  2706.                this-recipient             S  O    P  -    -  -    Y  N
  2707.                                                TABLE 2
  2708.  
  2709.                                    Generation of the EDI specific MS Attribute Types
  2710.               Attribute-type-name       Source             Source   Generation 
  2711.                                          parameters         generated  rules
  2712.                                           by
  2713.               acknowledgement-request-  acknowledgement-   MDThe attribute-value is the value of the 
  2714.             parameter 
  2715.                for-this-recipient        request            in the recipient-sub-field for this recipient. 
  2716.                                                             If the source parameter is missing, an 
  2717.             attribute 
  2718.                                                             with the default value shall be generated.
  2719.               action-request-           action-request     MDThe attribute-value is the value of the 
  2720.             parameter 
  2721.                for-this-recipient                           in the recipient-sub-field for this recipient.
  2722.                                                             If the source parameter is missing, an 
  2723.             attribute 
  2724.                                                             with the default value shall be generated.
  2725.               application-reference     application-reference MD    The value of the parameter is the 
  2726.             attribute value.
  2727.               authorization-information- authorization-    MDThe attribute-value is the value of the 
  2728.             parameter 
  2729.                for-this-recipient        information        in the recipient-sub-field for this recipient.
  2730.               body                      body               MDThe value of the parameter is the attribute 
  2731.             value.
  2732.               communications-agreement-id-                 communications-      MD      The attribute-value 
  2733.             is the value of the parameter 
  2734.                for-this-recipient        agreement-id       in the recipient-sub-field for this recipient.
  2735.               cross-referencing-information                cross-referencing-   MD      A value is 
  2736.             generated from each value 
  2737.                                          information        of the SET.
  2738.               date-and-time-of-preparation                 date-and-time-of-    MD      The value of the 
  2739.             parameter is the attribute value.
  2740.                                          preparation             
  2741.               edi-application-security-elements            edi-application-     MD      The value of the 
  2742.             parameter is the attribute value.
  2743.                                          security-elements       
  2744.               edi-application-security-extentions          edi-application-     MD      A value is 
  2745.             generated from each value 
  2746.                                          security-extentions         of the SET.
  2747.               edi-body-part             edi-body-part      MDThe value of the parameter is the attribute 
  2748.             value.
  2749.               edi-bodypart-type         edi-bodypart-type  MDThe value of the parameter is the attribute 
  2750.             value.
  2751.                                                             If the source parameter is missing, an 
  2752.             attribute 
  2753.                                                             with the default value shall be generated.
  2754.               edi-message-type          edi-message-type   MDA value is generated from each value 
  2755.                                                             of the SET.
  2756.               edi-notification-indicator             NONE  MSA value is added when an EDIN is submitted 
  2757.                                                             from the MS. 
  2758.               edi-notification-requests- edi-notification-requests  MD   The attribute-value is the value 
  2759.             of the parameter 
  2760.                for-this-recipient                           in the recipient-sub-field for this recipient.
  2761.               edi-notification-security- edi-notification-security  MD   The value of the parameter is the 
  2762.             attribute value.
  2763.                for-this-recipient                           
  2764.                                         TABLE 2 (continued)
  2765.               Attribute-type-name       Source             Source   Generation 
  2766.                                          parameters         generated  rules
  2767.                                           by
  2768.               edi-reception-security-   edi-reception-securityMD    The value of the parameter is the 
  2769.             attribute value.
  2770.                for-this-recipient                           
  2771.               edim-body-part                        NONE   MSThe value is the sequence-number of the entry
  2772.                                                             created for the forwarded EDIM.
  2773.               edim-synopsis             se 18.7.1.2        MSse 18.7.1.2
  2774.               edims-entry-type          InformationObject  MSIf the information object is an EDIM, the 
  2775.             value is 
  2776.                                          and edin           set to "edim". If the information object is an 
  2777.                                                             EDIN, the value is set according to the type of
  2778.                                                             the EDIN.
  2779.               edin-initiator            edin-initiator     MDThe value of the parameter is the attribute 
  2780.             value.
  2781.               edin-originator           edin-originator    MDThe value of the parameter is the attribute 
  2782.             value.
  2783.               edin-receiver             edin-receiver      MDThe value of the parameter is the attribute 
  2784.             value.
  2785.               expiry-time               expiry-time        MDThe value of the parameter is the attribute 
  2786.             value.
  2787.               externally-defined-body-part-types           additional-body-     MD      From each component 
  2788.             of the SEQUENCE,
  2789.                                          parts              one value is generated from the value of the 
  2790.                                                             ExternallyDefinedData components direct-
  2791.                                                             reference and one is generated from the value 
  2792.                                                             of the ExternallyDefinedParameters components 
  2793.                                                             direct-reference, if present.
  2794.               first-recipient           first-recipient    MDThe value of the parameter is the attribute 
  2795.             value.
  2796.               fn-extensions             fn-extensions      MDA value is generated from each value 
  2797.                                                             of the SET.
  2798.               fn-reason-code            fn-reason-code     MDThe value of the parameter is the attribute 
  2799.             value.
  2800.               fn-supplementary-information                 fn-supplementary-    MD      The value of the 
  2801.             parameter is the attribute value.
  2802.                                          information             
  2803.               forwarded-to              forwarded-to       MDThe value of the parameter is the attribute 
  2804.             value.
  2805.               heading                   heading            MDThe value of the parameter is the attribute 
  2806.             value.
  2807.               heading-extensions        heading-extensions MDA value is generated from each value 
  2808.                                                             of the SET.
  2809.               incomplete-copy           incomplete-copy    MDThe value of the parameter is the attribute 
  2810.             value.
  2811.                                                             If the source parameter is missing, an 
  2812.             attribute 
  2813.                                                             with the default value shall be generated.
  2814.               interchange-control-reference-               interchange-  MD      The attribute-value is the 
  2815.             value of the parameter 
  2816.                for-this-recipient        control-reference  in the recipient-sub-field for this recipient.
  2817.                                         TABLE 2 (continued)
  2818.               Attribute-type-name       Source             Source   Generation 
  2819.                                          parameters         generated  rules
  2820.                                           by
  2821.               interchange-lenght                    NONE   MSThe value is the number of octets occupied by 
  2822.                                                             the source parameter.
  2823.               interchange-recipient-    interchange-recipient MD    The attribute-value is the value of 
  2824.             the parameter 
  2825.                for-this-recipient                           in the recipient-sub-field for this recipient.
  2826.               interchange-sender        interchange-sender MDThe value of the parameter is the attribute 
  2827.             value.
  2828.               message-data              data               MDThe value of the parameter is the attribute 
  2829.             value.
  2830.               message-parameters        parameters         MDThe value of the parameter is the attribute 
  2831.             value.
  2832.               nn-extensions             nn-extensions      MDA value is generated from each value 
  2833.                                                             of the SET.
  2834.               nn-reason-code            nn-reason-code     MDThe value of the parameter is the attribute 
  2835.             value.
  2836.               nn-supplementary-information                 nn-supplementary-    MD      The value of the 
  2837.             parameter is the attribute value.
  2838.                                          information             
  2839.               notification-security-elements               notification-security-       MD      The value 
  2840.             of the parameter is the attribute value.
  2841.                                          elements                
  2842.               notification-time         notification-time  MDThe value of the parameter is the attribute 
  2843.             value.
  2844.               notifications-extensions  notifications-     MDA value is generated from each value 
  2845.                                          extensions         of the SET.
  2846.               obsoleted-edims           obsoleted-EDIMs    MDA value is generated from each value 
  2847.                                                             of the SEQUENCE.
  2848.               originator                originator         MDThe value of the parameter is the attribute 
  2849.             value.
  2850.               pn-extensions             pn-extensions      MDA value is generated from each value 
  2851.                                                             of the SET.
  2852.               pn-supplementary-information                 pn-supplementary-    MD      A value of the 
  2853.             parameter is the attribute value.
  2854.                                          information             
  2855.               processing-priority-code- processing-        MDThe attribute-value is the value of the 
  2856.             parameter 
  2857.                for-this-recipient        priority-code      in the recipient-sub-field for this recipient.
  2858.               recipient-extensions-     recipient-extensions  MD    A value is generated from each value 
  2859.             of the SET 
  2860.                for-this-recipient                           in the recipient-sub-field for this recipient.
  2861.               recipient-reference-      recipient-reference   MD    The attribute-value is the value of 
  2862.             the parameter 
  2863.                for-this-recipient                           in the recipient-sub-field for this recipient.
  2864.               related-messages          related-messages   MDA value is generated from each value 
  2865.                                                             of the SEQUENCE.
  2866.                                         TABLE 2 (concluded)
  2867.               Attribute-type-name       Source             Source   Generation 
  2868.                                          parameters         generated  rules
  2869.                                           by
  2870.               responsibility-forwarded  responsibility-forwarded    MD   The value of the parameter is the 
  2871.             attribute value.
  2872.                                                             If the source parameter is missing, an 
  2873.             attribute 
  2874.                                                             with the default value shall be generated.
  2875.               responsibility-passing-allowed-              responsibility-      MD      The attribute-value 
  2876.             is the value of the parameter 
  2877.                for-this-recipient        passing-allowed    in the recipient-sub-field for this recipient.
  2878.                                                             If the source parameter is missing, an 
  2879.             attribute 
  2880.                                                             with the default value shall be generated.
  2881.               service-string-advice     service-string-advice MD    The value of the parameter is the 
  2882.             attribute value.
  2883.               subject-edim              subject-edim       MDThe value of the parameter is the attribute 
  2884.             value.
  2885.               syntax-identifier         syntax-identifier  MDThe value of the parameter is the attribute 
  2886.             value.
  2887.               test-indicator-for-this-recipient            test-indicator       MD      The attribute-value 
  2888.             is the value of the parameter 
  2889.                                                             in the recipient-sub-field for this recipient.
  2890.                                                             If the source parameter is missing, an 
  2891.             attribute 
  2892.                                                             with the default value shall be generated.
  2893.               this-edim                 this-EDIM          MDThe value of the parameter is the attribute 
  2894.             value.
  2895.               this-recipient            recipient          MDThe attribute-value is the value of the 
  2896.             parameter 
  2897.                                                             in the recipient-sub-field for this recipient.
  2898.             18.7.1      Summary Attributes
  2899.                   Some attributes summarize an EDI Messaging information object.  These
  2900.             attributes are defined and described below.
  2901.             18.7.1.1    EDIMS Entry Type
  2902.                   The ot    S     Entry      Type      attribute      identifies
  2903.                   an information object's type.
  2904.                                     vaedims-entry-type ATTRIBUTE
  2905.                   WITH ATTRIBUTE-SYNTAX EDIMSEntryType
  2906.                   MATCHES FOR EQUALITY
  2907.                   SINGLE VALUE
  2908.                   ::= id-sat-edims-entry-type
  2909.                   tyEDIMSEntryType ::= ENUMERATED {
  2910.                   edim (0),
  2911.                   pn (1),
  2912.                   nn (2),
  2913.                   fn (3) }
  2914.                               This attribute may assume any one of the following values:
  2915.             a)  edim: The information object is an EDIM.
  2916.             b)  pn: The information object is a PN.
  2917.             c)  nn: The information object is an NN.
  2918.             d)  fn: The information object is an FN.
  2919.             An  MS  that  supports  this  attribute  shall  maintain  it  for  an
  2920.             information object that it holds if, and only if, that object is a  message
  2921.             whose content is an EDIM or EDIN.
  2922.             18.7.1.2    EDIM Synopsis
  2923.                         otEDIM      Synopsis      attribute      gives       the
  2924.                   structure, characteristics, size, and processing status of  an
  2925.                   EDIM  at  the  granularity  of  individual  body  parts.  This
  2926.                   attribute is created when an EDIM is delivered to the MS.
  2927.                   vaedim-synopsis ATTRIBUTE
  2928.                   WITH ATTRIBUTE-SYNTAX EDIMSynopsis
  2929.                   SINGLE VALUE
  2930.                   ::= id-sat-edim-synopsis
  2931.                               The synopsis  of  an  EDIM  comprises  a  synopsis  of  each  of  its  body
  2932.             parts. The synopsis appear in the order in which the body parts appear.
  2933.                         tyEDIMSynopsis ::= SEQUENCE OF 
  2934.                   BodyPartSynopsis
  2935.                         The synopsis of a body part  takes  either  of  two  forms  depending  upon
  2936.             whether the body part is of type Message or  Non-message  (i.e.  body-parts
  2937.             other than a forwarded EDIM).  This enables the synopsis  of  a  forwarding
  2938.             EDIM to encompass the body parts of each forwarded EDIM  (recursively),  as
  2939.             well as those of the forwarding EDIM itself.
  2940.                tyBodyPartSynopsis ::= CHOICE {
  2941.                message               [0] MessageBodyPartSynopsis,
  2942.                non-message           [1] NonMessageBodyPartSynopsis }
  2943.                tyMessageBodyPartSynopsis ::= 
  2944.                SEQUENCE {
  2945.                number                [0] SequenceNumber,
  2946.                synopsis              [1] EDIMSynopsis }
  2947.                tyNonMessageBodyPartSynopsis 
  2948.                ::= SEQUENCE {
  2949.                type                  [0] OBJECT IDENTIFIER,
  2950.                parameters            [1] ExternallyDefinedParameters 
  2951.                OPTIONAL,
  2952.                size                  [2] INTEGER,
  2953.                processed             [3] BOOLEAN DEFAULT FALSE }
  2954.                          The synopsis of a Message body part has the following components:
  2955.           a)  otNumber:   e  sequence   number   that   the   MS
  2956.           assigns to  the  entry  that  the  Message  body  part
  2957.           represents. This component is generated when a  child-
  2958.           entry is created. 
  2959.           form 
  2960.                   forms the content of the message that  the  body  part
  2961.                   represents. This component is generated when a  child-
  2962.                   entry is created.
  2963.           The synopsis of a body part of type other than Message has the 
  2964.           following components. For purposes of this synopsis, the body part is 
  2965.           considered to be of type Externally Defined, whether or not it was so 
  2966.           conveyed to the MS:
  2967.           c)  otTypeot:Type: This value is generated when the entry is 
  2968.                   created. If the Non-message Body Part is  n  edi-body-
  2969.                   part,  the  value  is  the  object  identifier   value
  2970.                   contained in the edi-bodypart-type attribute contained
  2971.                   in this entry. If it is a removed-edi-body, the  value
  2972.                   is set to "id-syn-removed" (See Annex C). If it  is  a
  2973.                   place-holder, t e  value  is  set  to   "id-syn-place-
  2974.                   holder" (again, see Annex C). If  t  is  an  external-
  2975.                   body-part, the value is set  to  the  Direct-reference
  2976.                   component of the body part's Data component.
  2977.           d) otParametersot:Parameters: This value is generated  if
  2978.                   the Non-message Body Part is an external-body-part. It
  2979.                   contains that body part's Parameter  component,  which
  2980.                   may  describe  the  body  part's  format  and  control
  2981.                   parameters.
  2982.           e) otSizeot:Size: This value is created when the entry is
  2983.                   created. The value is set to the size in octets of the
  2984.                   encoding of the Encoding component of the body  part's
  2985.                   Data  component  when  the  Basic  Encoding  Rules  of
  2986.                   Recommendation X.209  are  followed.  If  those  rules
  2987.                   permit several (e.g., both primitive and  constructed)
  2988.                   encodings of the component, the size may  reflect  any
  2989.                   one of them.
  2990.           f) otProcessedot:Processed (default false): An indication
  2991.                   of whether or not the body part has been  conveyed  to
  2992.                   the UA by means of the MS Fetch abstract operation, or
  2993.                   has been processed by an auto action.  This  value  is
  2994.                   set to the default value when the EDIM is delivered to
  2995.                   the MS and is updated as described in .
  2996.           An MS that supports this attribute shall maintain it for an 
  2997.           information object that it holds if, and only if, that object is a message 
  2998.           whose content is an EDIM.
  2999.           As a consequence of its variability, the value of the Size component 
  3000.           should be considered only an estimate of the body part's size.
  3001.           18.7.2      EDI Notification Indicator
  3002.                s 
  3003.           so which type of EDI Notifications were sent. The MS creates this attribute 
  3004.           for each new EDIM and maintains the attribute values, depending on the auto 
  3005.           actions performed.
  3006.                .D.X435B.DOC,e25
  3007.                e25 vaedi-notification-indicatorva:edi-notification-indicator 
  3008.                ATTRIBUTE
  3009.                WITH ATTRIBUTE-SYNTAX EDINotificationIndicator DEFAULT 
  3010.                (0)
  3011.                MATCHES FOR EQUALITY
  3012.                MULTI VALUE ::=
  3013.                id-sat-edi-notification-indicator
  3014.                EDINotificationIndicator ::= ENUMERATED {
  3015.                no-notification-sent  (0),
  3016.                pn-sent               (1),
  3017.                nn-sent               (2),
  3018.                fn-sent               (3) }
  3019.           .D.
  3020.                Each value of this attribute may assume one of the following values:
  3021.                a)  no-notification-sent: This is the initial value set by the MS 
  3022.                   when a new MS entry is created for the EDIM. 
  3023.                b)  pn-sent: This value means that the MS has generated and sent a 
  3024.                   Positive Notification (PN) in response to a request for a PN.
  3025.                c)  nn-sent: This value means that the MS has generated and sent a 
  3026.                   Negative Notification (NN) in response to a request for an NN.
  3027.                d)  fn-sent: This value means that the MS has generated and sent a 
  3028.                   Forwarded Notification (FN) in response to a request for an FN.
  3029.           18.7.3     Heading Attributes
  3030.                Some attributes are derived from the Heading of an EDIM. These 
  3031.           attributes are defined and described below.
  3032.           18.7.3.1    Heading
  3033.                The otHeadingot:Heading attribute is the (entire) Heading of 
  3034.           an EDIM.
  3035.                .D.X435B.DOC,e05
  3036.                e05 vaheadingva:heading ATTRIBUTE
  3037.                WITH ATTRIBUTE-SYNTAX Heading
  3038.                SINGLE VALUE
  3039.                ::= id-hat-heading
  3040.           .D.
  3041.                An MS that supports this attribute shall maintain it for an 
  3042.           information object that it holds if, and only if, that object is a message 
  3043.           whose content is an EDIM.
  3044.           18.7.3.2    Heading fields
  3045.                Some attributes bear the names  of  Heading  fields  and  have  those
  3046.           fields as their values. Some attributes bear the names  of  Heading  fields
  3047.           and have sub-fields of those fields as their values. See  for semantics.
  3048.                               vathis-edim ATTRIBUTE
  3049.                WITH ATTRIBUTE-SYNTAX ThisEDIMField
  3050.                MATCHES FOR EQUALITY
  3051.                SINGLE VALUE
  3052.                ::= id-hat-this-edim
  3053.                vaoriginator ATTRIBUTE
  3054.                WITH ATTRIBUTE-SYNTAX OriginatorField
  3055.                MATCHES FOR EQUALITY
  3056.                SINGLE VALUE
  3057.                ::= id-hat-originator
  3058.                vaedin-receiver ATTRIBUTE
  3059.                WITH ATTRIBUTE-SYNTAX EDINReceiverField
  3060.                MATCHES FOR EQUALITY
  3061.                SINGLE VALUE
  3062.                ::= id-hat-edin-receiver
  3063.                varesponsibility-forwarded 
  3064.                      ATTRIBUTE
  3065.                WITH ATTRIBUTE-SYNTAX ResponsibilityForwarded
  3066.                MATCHES FOR EQUALITY
  3067.                SINGLE VALUE
  3068.                ::= id-hat-responsibility-forwarded
  3069.                vaedi-bodypart-type ATTRIBUTE
  3070.                WITH ATTRIBUTE-SYNTAX EDIBodyPartType
  3071.                MATCHES FOR EQUALITY
  3072.                SINGLE VALUE
  3073.                ::= id-hat-edi-bodypart-type
  3074.                vaincomplete-copy ATTRIBUTE
  3075.                WITH ATTRIBUTE-SYNTAX IncompleteCopyField
  3076.                MATCHES FOR EQUALITY
  3077.                SINGLE VALUE
  3078.                ::= id-hat-incomplete-copy
  3079.                expiry-time; ATTRIBUTE
  3080.                WITH ATTRIBUTE-SYNTAX ExpiryTimeField
  3081.                MATCHES FOR EQUALITY ORDERING
  3082.                SINGLE VALUE
  3083.                ::= id-hat-expiry-time
  3084. varelated-messages                  ATTRIBUTE
  3085.                WITH ATTRIBUTE-SYNTAX RelatedMessagesReference
  3086.                MATCHES FOR EQUALITY
  3087.                MULTI VALUE
  3088.                ::= id-hat-related-messages
  3089.                vaobsoleted-edims ATTRIBUTE
  3090.                WITH ATTRIBUTE-SYNTAX ObsoletedEDIMsSubfield
  3091.                MATCHES FOR EQUALITY
  3092.                MULTI VALUE
  3093.                ::= id-hat-obsoleted-edims
  3094.                               vaedi-application-security-element ATTRIBUTE
  3095.                WITH ATTRIBUTE-SYNTAX EDIApplicationSecurityElement
  3096.                MATCHES FOR EQUALITY
  3097.                SINGLE VALUE
  3098.                  ::= id-hat-edi-application-security-element
  3099.                                 vaedi-application-security-extensions ATTRIBUTE
  3100.                WITH ATTRIBUTE-SYNTAX EDIApplicationSecurityExtension
  3101.                MATCHES FOR EQUALITY
  3102.                MULTI VALUE
  3103.                ::= id-hat-edi-application-security-extensions
  3104.                               vacross-referencing-information ATTRIBUTE
  3105.                WITH ATTRIBUTE-SYNTAX 
  3106.                CrossReferencingInformationSubField
  3107.                MATCHES FOR EQUALITY
  3108.                MULTI VALUE
  3109.                ::= id-hat-cross-referencing-information
  3110.                          Fields from EDIFACT Interchange:
  3111.                vaedi-message-type ATTRIBUTE
  3112.                WITH ATTRIBUTE-SYNTAX EDIMessageTypeFieldSubField
  3113.                MATCHES FOR EQUALITY
  3114.                MULTI VALUE
  3115.                ::= id-hat-edi-message-type
  3116.                vaservice-string-advice ATTRIBUTE
  3117.                WITH ATTRIBUTE-SYNTAX ServiceStringAdviceField
  3118.                MATCHES FOR EQUALITY
  3119.                SINGLE VALUE
  3120.                ::= id-hat-service-string-advice
  3121.                vasyntax-identifier ATTRIBUTE
  3122.                WITH ATTRIBUTE-SYNTAX SyntaxIdentifierField
  3123.                MATCHES FOR EQUALITY
  3124.                SINGLE VALUE
  3125.                ::= id-hat-syntax-identifier
  3126.                vainterchange-sender ATTRIBUTE
  3127.                WITH ATTRIBUTE-SYNTAX InterchangeSenderField
  3128.                MATCHES FOR EQUALITY
  3129.                SINGLE VALUE
  3130.                ::= id-hat-interchange-sender
  3131.                               vadate-and-time-of-preparation ATTRIBUTE
  3132.                WITH ATTRIBUTE-SYNTAX DateAndTimeOfPreparationField
  3133.                MATCHES FOR EQUALITY ORDERING
  3134.                SINGLE VALUE
  3135.                ::= id-hat-date-and-time-of-preparation
  3136.                vaapplication-reference ATTRIBUTE
  3137.                WITH ATTRIBUTE-SYNTAX ApplicationReferenceField
  3138.                MATCHES FOR EQUALITY SUBSTRINGS
  3139.                SINGLE VALUE
  3140.                ::= id-hat-application-reference
  3141.           Heading extensions:
  3142.                               vaheading-extensions ATTRIBUTE
  3143.                WITH ATTRIBUTE-SYNTAX HeadingExtensionsSubField
  3144.                MATCHES FOR EQUALITY
  3145.                MULTI VALUE
  3146.                ::= id-hat-heading-extensions
  3147.                                                                                                                                  ATTRIBUTE
  3148.                WITH ATTRIBUTE-SYNTAX InterchangeControlReferenceField
  3149.                MATCHES FOR EQUALITY SUBSTRINGS
  3150.                SINGLE VALUE
  3151.                ::= id-rat-interchange-control-reference-for-this- 
  3152.                recipient
  3153. vaprocessing-priority-code-for-this-recipient                  ATTRIBUTE
  3154.                WITH ATTRIBUTE-SYNTAX ProcessingPriorityCodeField
  3155.                MATCHES FOR EQUALITY
  3156.                SINGLE VALUE
  3157.                ::= id-rat-processing-priority-code-for-this-recipient
  3158.                vaacknowledgement-request-for-this- 
  3159.                  recipient 
  3160.                  ATTRIBUTE
  3161.                WITH ATTRIBUTE-SYNTAX AcknowledgementRequestField
  3162.                MATCHES FOR EQUALITY
  3163.                SINGLE VALUE
  3164.                ::= id-rat-acknowledgement-request-for-this-recipient
  3165.                vacommunications-agreement-id-for-this- 
  3166.                                   recipient ATTRIBUTE
  3167.                WITH ATTRIBUTE-SYNTAX CommunicationsAgreementIdField
  3168.                MATCHES FOR EQUALITY SUBSTRINGS
  3169.                SINGLE VALUE
  3170.                ::= id-rat-communications-agreement-id-for-this- 
  3171.                recipient
  3172.                               vatest-indicator-for-this-recipient ATTRIBUTE
  3173.                WITH ATTRIBUTE-SYNTAX TestIndicatorField
  3174.                MATCHES FOR EQUALITY
  3175.                SINGLE VALUE
  3176.                ::= id-rat-test-indication-for-this-recipient
  3177.           -- END Fields from EDIFACT
  3178.           -- Fields from ANSIX12 ISA
  3179.                                         vaauthorization-information-for-this- 
  3180.                  recipient 
  3181.                  ATTRIBUTE
  3182.                WITH ATTRIBUTE-SYNTAX AuthorizationInformationField
  3183.                MATCHES FOR EQUALITY
  3184.                SINGLE VALUE
  3185.                ::= id-rat-authorization-information-for-this-recipient
  3186.           -- END Fields from ANSIX12 ISA
  3187.             Extensions:
  3188.                                                       varecipient-extensions-for-this-recipient ATTRIBUTE
  3189.                   WITH ATTRIBUTE-SYNTAX RecipientExtensionsSubField
  3190.                   MATCHES FOR EQUALITY
  3191.                   MULTI VALUE
  3192.                   ::= id-rat-recipient-extensions-for-this-recipient
  3193.                               An MS that supports one of  these  attributes  shall  maintain  it  for  an
  3194.             information object that it holds if, and only if, that object is a  message
  3195.             whose content is an EDIM whose Heading Recipients field contains the  field
  3196.             whose name the attribute bears. It shall maintain one attribute  value  for
  3197.             each sub-field.
  3198.             18.7.4      Body Attributes
  3199.                   Some  attributes  are  derived  from  the  Body  of  an  EDIM.  These
  3200.             attributes are defined and described below.
  3201.             18.7.4.1    Body
  3202.                   The otBody attribute is the (entire) Body of an EDIM.
  3203.                vabody ATTRIBUTE
  3204.                WITH ATTRIBUTE-SYNTAX Body
  3205.                SINGLE VALUE
  3206.                ::= id-bat-body
  3207.                          An  MS  that  supports  this   attribute   shall   maintain   it   for   an
  3208.           information object that it holds if, and only if, that object is a  message
  3209.           whose content is an EDIM.
  3210.           18.7.4.2    Body Analyses
  3211.                Some attributes have as their values information about the body parts
  3212.           contained in the body of the message.
  3213.                The interchange length attribute is created by the Message Store when
  3214.           it receives an EDIM. Its value indicate the length of the  EDI  Interchange
  3215.           carried in the Primary Body Part of the message.
  3216.                               vainterchange-length ATTRIBUTE
  3217.                WITH ATTRIBUTE-SYNTAX InterchangeLength
  3218.                MATCHES FOR ORDERING
  3219.                SINGLE VALUE
  3220.                ::= id-bat-interchange-length
  3221.                tyInterchangeLength ::= INTEGER
  3222.                          The Interchange Length gives the number  of  octets  occupied  by  the  EDI
  3223.           Interchange.
  3224.           18.7.4.3    Primary Body Parts
  3225.                Some attributes bear the names of the Primary  Body  Part  types  and
  3226.           have such body parts as their values.  See  for semantics.
  3227.                vaedi-body-part ATTRIBUTE
  3228.                WITH ATTRIBUTE-SYNTAX EDIBodyPart
  3229.                SINGLE VALUE
  3230.                ::= id-bat-edi-body-part
  3231.                               tyEDIExternallyDefinedBodyPartParameterAttribute   ::= SEQUENCE {
  3232.                body-part-reference   [0] BodyPartReference OPTIONAL,
  3233.                parameter             [1] ExternallyDefinedParameters }
  3234.                          An  MS  that  supports  one  of  these  body  parts  shall  maintain   both
  3235.           attributes for an information object that it holds if, and  only  if,  that
  3236.           object is a message whose content is an EDIM whose  Body  contains  one  or
  3237.           more body parts of the type that corresponds to that  attribute.  It  shall
  3238.           maintain one value of each attribute for each such body part.
  3239.           NOTE  -  The  externally  defined  body  part  attributes  cannot  be
  3240.           enumerated in practice because  the  externally  defined  body  part  types
  3241.           cannot be so enumerated.
  3242.           The Externally Defined  Body  Part  Types  attribute  determines  the
  3243.           Externally Defined Body Part Types for a particular EDIM.
  3244.           18.7.5      Notification Attributes
  3245.                Some attributes are  derived  from  an  EDIN.  These  attributes  are
  3246.           defined and described below.
  3247.           18.7.5.1    Common fields
  3248.                Some attributes bear the names of Common fields and have those fields
  3249.           as their values.  See 6.1 for semantics.
  3250.                               vasubject-edim ATTRIBUTE
  3251.                WITH ATTRIBUTE-SYNTAX SubjectEDIMField
  3252.                MATCHES FOR EQUALITY
  3253.                SINGLE VALUE
  3254.                ::= id-nat-subject-edim
  3255.                vaedin-originator ATTRIBUTE
  3256.                WITH ATTRIBUTE-SYNTAX EDINOriginatorField
  3257.                MATCHES FOR EQUALITY
  3258.                SINGLE VALUE
  3259.                ::= id-nat-edin-originator
  3260.                vafirst-recipient ATTRIBUTE
  3261.                WITH ATTRIBUTE-SYNTAX FirstRecipientField 
  3262.                MATCHES FOR EQUALITY
  3263.                SINGLE VALUE
  3264.                ::= id-nat-first-recipient
  3265. vanotification-time                  ATTRIBUTE
  3266.                WITH ATTRIBUTE-SYNTAX NotificationTimeField
  3267.                MATCHES FOR EQUALITY ORDERING
  3268.                SINGLE VALUE
  3269.                ::= id-nat-notification-time
  3270.                               vanotification-security-elements ATTRIBUTE
  3271.                WITH ATTRIBUTE-SYNTAX SecurityElementsField
  3272.                MATCHES FOR EQUALITY
  3273.                SINGLE VALUE
  3274.                ::= id-nat-notification-security-elements
  3275.                vaedin-initiator ATTRIBUTE
  3276.                WITH ATTRIBUTE-SYNTAX EDINInitiatorField
  3277.                MATCHES FOR EQUALITY
  3278.                SINGLE VALUE
  3279.                ::= id-nat-edin-initiator
  3280.                          Some attributes be r  the  names  of  notification  fields  and  have  sub-
  3281.           fields of the Common fields of a notification as their values.
  3282.                     vanotification-extensions 
  3283.           ATTRIBUTE
  3284.           WITH ATTRIBUTE-SYNTAX NotificationExtensionsSubField
  3285.           MATCHES FOR EQUALITY
  3286.           MULTI VALUE
  3287.           ::= id-nat-notification-extensions
  3288.           An MS that supports one of  these  attributes  shall  maintain  it  for  an
  3289.           information object that it holds if, and only if, that object is a  message
  3290.           whose content is an EDIN that contains the field or  sub-field  whose  name
  3291.           the attribute bears.
  3292.           18.7.5.2    Positive Notification fields
  3293.                Some attributes bear the names of  PN  EDIN  fields  and  have  those
  3294.           fields as their values. Some attributes  bear  the  names  of  notification
  3295.           fields and have sub-fields of the PN fields  of  a  notification  as  their
  3296.           values.  See  for semantics.
  3297.                                              vapn-supplementary-information ATTRIBUTE
  3298.                WITH ATTRIBUTE-SYNTAX EDISupplementaryInformation
  3299.                MATCHES FOR EQUALITY SUBSTRINGS
  3300.                SINGLE VALUE
  3301.                ::= id-nat-pn-supplementary-info
  3302.                vapn-extensions ATTRIBUTE
  3303.                WITH ATTRIBUTE-SYNTAX PNExtensionsSubField
  3304.                MATCHES FOR EQUALITY
  3305.                MULTI VALUE
  3306.                ::= id-nat-pn-extensions
  3307.                                                                                                                                             ATTRIBUTE
  3308.                WITH ATTRIBUTE-SYNTAX FNExtensionsSubField
  3309.                MATCHES FOR EQUALITY
  3310.                MULTI VALUE
  3311.                ::= id-nat-fn-extensions
  3312.             An MS that supports one of  these  attributes  shall  maintain  it  for  an
  3313.             information object that it holds if, and only if, that object is a  message
  3314.             whose content is an FN that contains the field  whose  name  the  attribute
  3315.             bears. It shall maintain one attribute value for each field or sub-field.
  3316.             18.8  Procedures for EDI MS
  3317.                   The procedures for a general  MS  are  specified  in  14  and  15  of
  3318.             Recommendation X.413.  This reference gives complementary  information  for
  3319.             MS systems that also explicitly support EDI messaging.
  3320.             18.8.1      Additional procedures for message delivery
  3321.                   How the MS consumes the MTS abstract service is described  in  14  of
  3322.             Recommendation X.413. The following text describes  additional  information
  3323.             about the procedures needed for EDI messaging.
  3324.                   If EDI Security  Requests  are  present,  then  the  EDI-auto-forward
  3325.             actions defined above may be prohibited, subject to the security policy  in
  3326.             force.  If EDI Security Requests  are  present  then  the  EDI-auto-forward
  3327.             action (forwarding-with-responsibility-accepted) shall not be performed.
  3328.                   Addition to 14.1.1 bullet 2) a) of Recommendation X.413:
  3329.                   -   If EDI auto forwarding criteria are registered by the Register-MS
  3330.                      abstract operation, the new entry shall be  matched  against  the
  3331.                      criteria registered.  The matching shall always proceed  starting
  3332.                      with the registration having the lowest  registration  identifier
  3333.                      and perform  the following auto actions:
  3334.                      -   registratio s   against   the   "forward-with-responsibility-
  3335.                          accepted" auto action.
  3336.                         If this results in forwarding being performed, it is  possible
  3337.                          that one or several forwardings  may  be  performed  for  this
  3338.                          EDIM.
  3339.                           registrations    against    "forward-with-responsibilty-not-
  3340.                          accepted" auto-action.
  3341.                         If this results in a forwarding being  performed,  no  further
  3342.                          EDI forwarding actions shall be performed for this EDIM by the
  3343.                          same EDI-MS.  
  3344.                   d 
  3345.                      deleted after forwarding, no further forwarding  auto-action  can
  3346.                      take place.
  3347.                      The appropriate notification shall be returned for the first auto 
  3348.                      forwarding that is performed for the EDIM. 
  3349.                      When an EDIN is submitted, a value  reflecting  the  type  of  the
  3350.                      EDIN  shall  be  added    to   the   "edi-notification-indicator"
  3351.                      attribute.
  3352.                      If an EDI auto-forwarding does not succee ,  eg.  through  a  non-
  3353.                      delivery, an NN EDIN may be returned to the originator if  an  FN
  3354.                      was previously sent.  
  3355.             19.   Message Contents
  3356.                   As has already been seen, various secondary objects (e.g., UAs)  have
  3357.             occasion to convey the Information Objects of  as the contents of messages,
  3358.             as well  as  to  convey  probes  concerning  such  messages.  What  follows
  3359.             specifies precisely how they shall do this.
  3360.                   The rules governing the transmittal of such messages and probes,  and
  3361.             the semantics  and  abstract  and  transfer  syntaxes  of  their  contents,
  3362.             constitute glEDI Messaginggl:EDI Messaging.
  3363.             19.1  Content
  3364.                   A secondary object that submits a message containing an EDIM or  EDIN
  3365.             shall supply, as the octets  of  the  Octet  String  that  constitutes  the
  3366.             content of the message, the result of encoding the  Information  Object  of
  3367.             in accordance with the Basic Encoding Rules of Recommendation X.209.
  3368.             19.2  Content Type
  3369.                   A secondary object that submits a message containing an EDIM or  EDIN
  3370.             shall assign either the object identifier id-mct-pedi (see Annex A) or  the
  3371.             integer value 35 to the Content Type. The object identifier shall  be  used
  3372.             if the MTA conforms to Recommendation X.411 in its 1988 version.
  3373.                   A secondary object that receives a message containing an EDIM or EDIN
  3374.             shall accept both the object identifier id-mct-pedi and the  integer  value
  3375.             35 as Content Type.
  3376.                   Notwithstanding the provisions of Annex B of Recommendation X.419, an
  3377.             MTA that conforms to Recommendation X.411 in its 1988  version  shall  obey
  3378.             the following rules when it relays an MTS-APDU to an MTA that  conforms  to
  3379.             Recommendation X.411 in its 1984 version:
  3380.                   -   If the Content Type in a message or probe  is  indicated  by  the
  3381.                      integer value 35, it shall be unchanged.
  3382.                -   If the Content Type in a message containing an EDIM  or  EDIN  is
  3383.                   indicated by the  object  identifier  id-mct-pedi,  it  shall  be
  3384.                   replaced by the integer value 35.
  3385.                NOTE - When an MTA that conforms to Recommendation X.411 in its  1984
  3386.           version relays an MTS-APDU to an MTA that conforms to Recommendation  X.411
  3387.           in its 1988 version, and the Content Type contains the  integer  value  35,
  3388.           the MTA that conforms to Recommendation  X.411  in  its  1988  version  may
  3389.           replace the integer value 35 in the Content Type with the object identifier
  3390.           id-mct-pedi or leave the integer value unchanged.
  3391.           19.3  Content Length
  3392.                A  secondary  object  that  submits  a  probe  concerning  a  message
  3393.           containing an EDIM or EDIN shall specify as the  length  of  the  message's
  3394.           content the size in octets of the encoding of the instance in  question  of
  3395.           the Information Object of  (a choice of an EDIM or an EDIN) when the  Basic
  3396.           Encoding Rules of Recommendation X.209 are followed. If those rules  permit
  3397.           several (e.g., both primitive and constructed) encoding of that Information
  3398.           Object, the content length may reflect any one of them.
  3399.           19.4  Encoded Information Types
  3400.                A secondary object that submits a message containing an EDIM or  EDIN
  3401.           shal            the      glEncoded      Information      Types
  3402.           (abEIT) of the message as follows.
  3403.                In the case of an EDIN, the basic EITs shall be unspecified.
  3404.                In the case of an EDIM, the EITs shall be the logical  union  of  the
  3405.           EITs of the EDIM's body parts specified in accordance  with  the  following
  3406.           rules:
  3407.                a)  EDI Body Part: The EIT (if any) of the EDI Body Part  shall  have
  3408.                   the same values as the Heading field EDI Body Part Type.
  3409.                b)  EDIM Body Part(Forwarded Message): The EITs (if any)  of  a  EDIM
  3410.                   Body Part shall be those of the forwarded message.
  3411.                c)  Additional body parts: The EIT of additional body parts (if  any)
  3412.                   shall be the logical union of the individual body parts EITs.
  3413.                An Externally Defined body part whose extended type corresponds to  a
  3414.           basic type shall be indicated using the built-in EIT.
  3415.                The EDI Body Part Type may be indicated in the external EITs.
  3416.                A secondary object that submits a message containing an  EDIM  to  an
  3417.           MTA that conforms to Recommendation X.411 in its 1988 version shall use the
  3418.           union of the object identifiers from EDI Body Part Type (see  and Annex  A)
  3419.           for all "original-encoded-information-types".
  3420.                " 
  3421.           "undefined" bit of the "built-in-encoded-information-types" (called "basic 
  3422.           encoded-information-type" in Recommendation X.411 in its 1984 version),  as
  3423.           no other indication is possible for the EITs defined in   in  an  MTA  that
  3424.           conforms to Recommendation X.411 in its 1984 version. The "external-encoded
  3425.           information-type" field shall not be present.
  3426.                NOTE - The following reduced functionality has to be considered  when
  3427.           a secondary object submits a message containing an  EDIM  to  an  MTA  that
  3428.           conforms to Recommendation X.411 in its 1984 version or when such  messages
  3429.           are relayed  through  such  an  MTA.  The  delivering  MTA  cannot  make  a
  3430.           comparison of which EITs, and hence primary EDI body part types, the UA  is
  3431.           prepared to accept  for  delivery  (otherwise  it  would  not  perform  the
  3432.           delivery at all). In  addition,  the  security  features  of  an  MTA  that
  3433.           conforms to Recommendation X.411 in its 1988 version cannot be used.
  3434.           20.   Port realization
  3435.                How an MS or the MTS  concretely  realizes  the  secondary  ports  it
  3436.           supplies is specified in Recommendation X.419.
  3437.                How a UA, TLMA, or  AU  concretely  realizes  the  primary  ports  it
  3438.           supplies is beyond the scope of this Recommendation.
  3439.           21.   Conformance
  3440.                The requirements a secondary  object  (excluding  the  MTS)  and  its
  3441.           implementor shall meet when the latter claims the former's  conformance  to
  3442.           this Recommendation are identified  below.  A  number  of  the  conformance
  3443.           requirements distinguish between support upon origination and support  upon
  3444.           reception.
  3445.           21.1  Origination versus Reception
  3446.                A       UA       or       AU       shall       be       said       to
  3447.           glsu        upon        origination        a        particular
  3448.           Heading field, Heading  extension,  EDIM  Body  Part  type  or
  3449.           Externally Defined Body Part type if, and only if, it accepts,
  3450.           preserves, and emits, in full accord with this Recommendation,
  3451.           that particular Heading field or extension, or EDIM Body  Part
  3452.           type or Externally Defined Body Part  type,  whenever  a  user
  3453.           calls upon it to convey an EDIM containing them to the MTS  or
  3454.           the user's MS (the latter only in the case of a UA).
  3455.                A       UA       or       AU       shall       be       said       to
  3456.           glsupport    n     reception     a     particular      Heading
  3457.           field, Heading extension, EDIM Body Part  type  or  Externally
  3458.           Defined Body Part type if, and only if, it accepts, preserves,
  3459.           and emits, in  full  accord  with  this  Recommendation,  that
  3460.           particular Heading field or extension, or EDIM Body Part  type
  3461.           or Externally Defined Body Part type, whenever the  MTS  or  a
  3462.           user's MS (the latter only in the case of a UA) calls upon  it
  3463.           to convey to the user an EDIM containing them.
  3464.                A PDAU supports nothing upon origination  because  it  is
  3465.           not a supplier of the origination port.
  3466.           21.2  Statement requirements
  3467.                The implementor of a UA, MS or AU shall state the following. For each
  3468.           item below he shall make separate statements  concerning  conformance  upon
  3469.           origination and conformance upon reception:
  3470.                a)  The Heading fields for which he claims conformance.
  3471.                b)  The body part types for which he claims conformance.
  3472.                c)  In the case of a UA with MS or MS, the EDI Messaging-specific  MS
  3473.                   attributes for which it claims conformance.
  3474.                d)  In the case of a UA with MS or MS, whether is  supports  the  EDI
  3475.                   messaging-specific auto actions.
  3476.           21.3  Static requirements
  3477.                A UA, MS or AU shall satisfy the following static requirements:
  3478.                a)  A UA, MS or AU shall implement the Heading fields  and  the  body
  3479.                   part types for which conformance is claimed.
  3480.                b)  A UA with MS or MS shall support the  EDI  messaging-specific  MS
  3481.                   attributes for which conformance is claimed, but including  as  a
  3482.                   minimum those designated mandatory in .  In  addition,  it  shall
  3483.                   support  the  mandatory  attributes  identified  in  Table  1  of
  3484.                   Recommendation X.413.
  3485.                c)  A UA, MS or AU shall concretely realize  its  abstract  ports  as
  3486.                   specified in .
  3487.                d)  A UA or MS shall be able to both submit and receive  messages  of
  3488.                   the content types of . An AU shall be able  to  both  import  and
  3489.                   export such messages.
  3490.           21.4  Dynamic requirements
  3491.                A UA, MS or AU shall satisfy the following dynamic requirements:
  3492.                a)  A UA or MS shall follow the rules of operation specified in  or ,
  3493.                   respectively.
  3494.                b)  A UA, MS or AU shall submit and receive messages  whose  contents
  3495.                   are as specified in .
  3496.                c)  A UA, MS or AU shall register with the MTS its ability to  accept
  3497.                   delivery of messages of both of the content types of  and EITs as
  3498.                   specified in .
  3499.                                             ANNEX A
  3500.  
  3501.                            Reference definition of Object Identifiers
  3502.  
  3503.                   (This annex forms an integral part of this Recommendation.)
  3504.                The annex defines for reference purposes various  Object  Identifiers
  3505.           cited in the ASN.1 modules of subsequent annexes. It uses ASN.1.
  3506.                All Object Identifiers this Recommendation assigns  are  assigned  in
  3507.           this annex. The annex is definitive for all but those  for  ASN.1  modules,
  3508.           the object EDIMS application (EDIME) itself and the EDI use of Directories.
  3509.           The definitive assignments for the former occur in the modules  themselves;
  3510.           other references to them appear in IMPORT statements. For the  EDI  use  of
  3511.           Directories object identifiers, this  annex  only  defines  a  base  object
  3512.           identifier.
  3513.                                                     ----------
  3514.                moEDIMSObjectIdentifiers {joint- 
  3515.                iso-ccitt 
  3516.                  mhs-motis(6) edims(7) modules(0) object- 
  3517.                identifiers(0) }
  3518.                DEFINITIONS IMPLICIT TAGS ::=
  3519.                BEGIN
  3520.           -- Prologue
  3521.           -- Exports everything
  3522.                IMPORTS  --  nothing --;
  3523.                tyID ::= OBJECT IDENTIFIER
  3524.  
  3525.           -- EDI Messaging (definitive)
  3526.                idid-edims ID ::= { joint-iso-ccitt mhs- 
  3527.                motis(6) edims(7) } -- This is definitive
  3528.  
  3529.           -- Categories
  3530.           idid-mod        ID ::= {id-edims  0} -- modules
  3531.                  idid-edi        ID ::= {id-edims  1} -- reserved
  3532.                idid-ot                                     ID     ::=     {id-edims      2}     --     object
  3533.                types
  3534.                idid-pt          ID ::= {id-edims  3} -- port types
  3535.                idid-re            ID      ::=      {id-edims       4}      --
  3536.                refinements
  3537.                idid-sat        ID ::= {id-edims  5} -- summary 
  3538.                attributes
  3539.                idid-hat        ID ::= {id-edims  6} -- heading 
  3540.                attributes
  3541.                idid-rat        ID ::= {id-edims  7} -- recipient 
  3542.                attributes
  3543. idid-bat                       ID ::= {id-edims  8} -- body 
  3544.                attributes
  3545.                idid-nat        ID ::= {id-edims  9} -- 
  3546.                notification attributes
  3547.                idid-mct        ID ::= {id-edims 10} -- message 
  3548.                content types
  3549.                idid-bp          ID ::= {id-edims 11} -- edi body 
  3550.                part types
  3551.                idid-nt          ID ::= {id-edims 12} -- edi 
  3552.                notification types
  3553.                idid-for        ID ::= {id-edims 13} -- edi action 
  3554.                indicator types
  3555.                idid-act        ID ::= {id-edims 14} -- edi auto- 
  3556.                action indentifier types
  3557.                idid-dir        ID ::= {id-edims 15} -- edi use of 
  3558.                directories
  3559.                idid-syn        ID ::= {id-edims 16} -- edi 
  3560.                synopsis type
  3561.           -- Modules
  3562.                idid-mod-object-identifiers ID 
  3563.                ::= {id-mod  0} -- definitive
  3564. idid-mod-functional-objects                ID 
  3565.                ::= {id-mod  1} -- definitive
  3566.                idid-mod-information-objects    
  3567.                ID ::= {id-mod  2} -- definitive
  3568.                idid-mod-abstract-service     ID 
  3569.                ::= {id-mod  3} -- definitive
  3570.                               idid-mod-message-store-attributes              ID ::= {id-mod  4} -- definitive
  3571.                idid-mod-upper-bounds   ID ::= {id- 
  3572.                mod  5} -- definitive
  3573.                               idid-mod-edi-directory-cl-att                     ID ::= {id-mod  6} -- definitive
  3574.                               idid-mod-message-store-auto-actions            ID ::= {id-mod  7} -- definitive
  3575.           -- Object types
  3576. idid-ot-edime                   ID ::= {id-ot 0}
  3577.                idid-ot-edimg-user    ID ::= {id-ot 1}
  3578.                idid-ot-edims    ID ::= {id-ot 2}
  3579.                idid-ot-edi-ua  ID ::= {id-ot 3}
  3580.                idid-ot-edi-ms  ID ::= {id-ot 4}
  3581.                idid-ot-pdau ID ::= {id-ot 5}
  3582.           -- Port types
  3583.                idid-pt-origination  ID ::= {id-pt 0}
  3584.                idid-pt-reception ID ::= {id-pt 1}
  3585.           -- Refinements
  3586.                idid-ref-primary   ID ::= {id-ref 0}
  3587.                idid-ref-secondary    ID ::= {id-ref 1}
  3588.           -- EDI-Notification Types (for use in P1 notification extension field)
  3589. idid-nt-edi-pn             ID ::= {id-nt 0}
  3590.                idid-nt-edi-nn   ID ::= {id-nt 1}
  3591.                idid-nt-edi-fn   ID ::= {id-nt 2}
  3592.           -- Message content type
  3593.                idid-mct-pedi    ID ::= {id-mct 0} -- Pedi
  3594.           -- EDI Body Part type (and P1 EIT)
  3595.                idid-edifact-ISO646  ID ::= {id-bp 0} 
  3596.                -- ISO646 is equivalent to CCITT T.50
  3597.                idid-edifact-T61   ID ::= {id-bp 1}
  3598.                idid-edifact-octet    ID ::= {id-bp 2}
  3599.                idid-ansiX12-ISO646  ID ::= {id-bp 3}
  3600.                idid-ansiX12-T61   ID ::= {id-bp 4}
  3601.                idid-ansiX12-octet    ID ::= {id-bp 5}
  3602. idid-ansiX12-ebcdic                 ID ::= {id-bp 6}
  3603.                idid-untid-ISO646 ID ::= {id-bp 7}
  3604.                idid-untid-T61  ID ::= {id-bp 8}
  3605.                idid-untid-octet   ID ::= {id-bp 9}
  3606.                idid-private-octet    ID ::= {id-bp 10}
  3607.                idid-undefined-octet     ID ::= {id- 
  3608.                bp 11}
  3609.           -- EDI Action Indication
  3610.                idid-for-action     ID ::= {id-for 0} -- 
  3611.                For action
  3612.                idid-for-copy    ID ::= {id-for 1} -- copy, 
  3613.                not original
  3614.           -- EDIMG Specific Register Auto Actions
  3615.                idid-act-edi-auto-forward     ID 
  3616.                ::= {id-act 0}
  3617.           -- EDIM Synopsis (MS)
  3618.                idid-syn-removed   ID ::= {id-syn 0}
  3619. idid-syn-place-holder                     ID ::= {id- 
  3620.                   syn 1}
  3621.             --   MESSAGE STORE ATTRIBUTES
  3622.             -- Summary attributes
  3623.                   idid-sat-edims-entry-type     ID 
  3624.                   ::= {id-sat 0}
  3625.                   idid-sat-edim-synopsis ID ::= {id- 
  3626.                   sat 1}
  3627.                                     idid-sat-edi-notification-indicator  ID ::= {id-sat 2}
  3628.             -- Heading attributes
  3629.  
  3630.                   ha 
  3631.                   hat 4}
  3632.                   idid-hat-responsibility-forwardedid:id-hat-responsibility- 
  3633.                   forwarded                  ID ::= {id-hat 5}
  3634.                   idid-hat-edi-bodypart-typeid:id-hat-edi-bodypart-type    ID 
  3635.                   ::= {id-hat 6}
  3636.                   idid-hat-incomplete-copyid:id-hat-incomplete-copy   ID ::= 
  3637.                   {id-hat 7}
  3638.                   idid-hat-expiry-timeid:id-hat-expiry-time      ID ::= {id- 
  3639.                   hat 8}
  3640.                   idid-hat-related-messagesid:id-hat-related-messages      ID 
  3641.                   ::= {id-hat 9}
  3642.                   idid-hat-obsoleted-edimsid:id-hat-obsoleted-edims   ID ::= 
  3643.                   {id-hat 10}
  3644.                   idid-hat-edi-application-security-elementid:id-hat-edi- 
  3645.                   application-security-element   ID ::= {id-hat 11}
  3646.                   idid-hat-edi-application-security-extensionsid:id-hat-edi- 
  3647.                   application-security-extensions     ID ::= {id-hat 12}
  3648.                   idid-hat-cross-referencing-informationid:id-hat-cross- 
  3649.                   referencing-information ID ::= {id-hat 13}
  3650.                   idid-hat-edi-message-typeid:id-hat-edi-message-type      ID 
  3651.                   ::= {id-hat 14}
  3652.                   idid-hat-service-string-adviceid:id-hat-service-string- 
  3653.                   advice                      ID ::= {id-hat 15}
  3654.                   idid-hat-syntax-identifierid:id-hat-syntax-identifier    ID 
  3655.                   ::= {id-hat 16}
  3656.                   idid-hat-interchange-senderid:id-hat-interchange-sender ID 
  3657.                   ::= {id-hat 17}
  3658.                   idid-hat-date-and-time-of-preparationid:id-hat-date-and- 
  3659.                   time-of-preparation      ID ::= {id-hat 18}
  3660.                   idid-hat-application-referenceid:id-hat-application- 
  3661.                   reference                  ID ::= {id-hat 19}
  3662.                   idid-hat-heading-extensionsid:id-hat-heading-extensions ID 
  3663.                   ::= {id-hat 20}
  3664.             -- Per Recipient attributes
  3665.  
  3666.                   idid-rat-this-recipientid:id-rat-this-recipient     ID ::= 
  3667.                   {id-rat 10}
  3668.                   idid-rat-action-request-for-this-recipientid:id-rat-action- 
  3669.                   request-for-this-recipient     ID ::= {id-rat 1}
  3670.                   idid-rat-edi-notification-requests-for-this-recipientid:id- 
  3671.                   rat-edi-notification-requests-for-this-recipient   ID ::= 
  3672.                   {id-rat 2}
  3673.                   idid-rat-responsibility-passing-allowed-for-this- 
  3674.                   recipientid:id-rat-responsibility-passing-allowed-for-this- 
  3675.                   recipient                          ID ::= {id-rat 3}
  3676.                   --  UNB EDIFACT Field Object Ids --
  3677.                   idid-rat-interchange-recipient-for-this-recipientid:id-rat- 
  3678.                   interchange-recipient-for-this-recipient      ID ::= {id- 
  3679.                   rat 4}
  3680.                   idid-rat-recipient-reference-for-this-recipientid:id-rat- 
  3681.                   recipient-reference-for-this-recipient   ID ::= {id-rat 5}
  3682.                   idid-rat-interchange-control-reference-for-this- 
  3683.                   recipientid:id-rat-interchange-control-reference-for-this- 
  3684.                   recipient                          ID ::= {id-rat 6}
  3685.                   idid-rat-processing-priority-code-for-this-recipientid:id- 
  3686.                   rat-processing-priority-code-for-this-recipient    ID ::= 
  3687.                   {id-hat 7}
  3688.                   idid-rat-acknowledgement-request-for-this-recipientid:id- 
  3689.                   rat-acknowledgement-request-for-this-recipient     ID ::= 
  3690.                   {id-rat 8}
  3691.                   idid-rat-communications-agreement-id-for-this- 
  3692.                   recipientid:id-rat-communications-agreement-id-for-this- 
  3693.                   recipient                          ID ::= {id-rat 9}
  3694.                   idid-rat-test-indicator-for-this-recipientid:id-rat-test- 
  3695.                   indicator-for-this-recipient   ID ::= {id-rat 10}
  3696.                   idid-rat-notification-security-for-this-recipientid:id-rat- 
  3697.                   notification-security-for-this-recipient      ID ::= {id- 
  3698.                   rat 11}
  3699.                   idid-rat-edi-reception-security-for-this-recipientid:id- 
  3700.                   rat-edi-reception-security-for-this-recipient      ID ::= 
  3701.                   {id-rat 12}
  3702.                idid-rat-recipient-extensions-for-this-recipientid:id-rat- 
  3703.                recipient-extensions-for-this-recipient  ID ::= {id-rat 
  3704.                13}
  3705.                --  ANSIX12 ISA Field Object Ids --
  3706.                .I.id:id-rat-authorization-information-for-this- 
  3707.                recipient;                        ID ::= {id-rat 14}
  3708.           -- Body attributes
  3709.                idid-bat-body    ID ::= {id-bat 0}
  3710.                idid-bat-interchange-length ID 
  3711.                ::= {id-bat 1}
  3712.                idid-bat-edi-body-part ID ::= {id- 
  3713.                bat 2}
  3714.                idid-bat-edim-body-part    ID ::= 
  3715.                {id-bat 3}
  3716.                idid-bat-message-parameters ID 
  3717.                ::= {id-bat 4}
  3718.                idid-bat-message-data   ID ::= {id- 
  3719.                bat 5}
  3720.                               idid-bat-externally-defined-body-part-types ID ::= {id-bat 6}
  3721.           -- Notification attributes
  3722.                idid-nat-subject-edim   ID ::= {id- 
  3723.                nat 0}
  3724. idid-nat-edin-originator                 ID ::= 
  3725.                {id-nat 1}
  3726.                idid-nat-first-recipient  ID ::= 
  3727.                {id-nat 2}
  3728.                idid-nat-notification-time   ID 
  3729.                ::= {id-nat 3}
  3730.                               idid-nat-notification-security-elements     ID ::= {id-nat 4}
  3731.                               idid-nat-notification-extensions              ID ::= {id-nat 5}
  3732.                idid-nat-edin-initiator    ID ::= 
  3733.                {id-nat 6}
  3734.                --    PN attributes
  3735.                               idid-nat-pn-supplementary-info                    ID ::= {id-nat 7}
  3736. idid-nat-pn-extensions                ID ::= {id- 
  3737.                nat 8}
  3738.                --    NN attributes
  3739.                idid-nat-nn-reason-code    ID ::= 
  3740.                {id-nat 9}
  3741.                               idid-nat-nn-supplementary-info                    ID ::= {id-nat 10}
  3742.                idid-nat-nn-extensions ID ::= {id- 
  3743.                nat 11}
  3744.                --    FN attributesidid-nat-forwarded-to   ID ::= {id- 
  3745.                nat 12}
  3746.                idid-nat-fn-reason-code    ID ::= 
  3747.                {id-nat 13}
  3748. idid-nat-fn-supplementary-info                                      ID ::= {id-nat 14}
  3749.                   idid-nat-fn-extensions ID ::= {id- 
  3750.                   nat 15}
  3751.             --   MESSAGE STORE ATTRIBUTES - END
  3752.                   END -- of EDIMSObjectIdentifiers
  3753.                                               ANNEX B
  3754.  
  3755.                         Reference definition of Abstract Information Objects
  3756.  
  3757.                     (This annex forms an integral part of this Recommendation.)
  3758.                   obj 
  3759.             objects of EDI Messaging. It defines a Body Part for EDIM that  includes  a
  3760.             body part reference number while  importing  the  IPMS  externally  defined
  3761.             MACRO for specifying non-EDI body parts. It also defines an  EDIM-EXTENSION
  3762.             MACRO that differs from IPMS.
  3763.                   mo EDIMSInformationObjectsmo: EDIMSInformationObjects 
  3764.                     {joint-iso-ccitt
  3765.                      mhs-motis(6) edims(7) modules(0) information- 
  3766.                   objects(2) }
  3767.  
  3768.                   DEFINITIONS IMPLICIT TAGS ::=
  3769.                   BEGIN
  3770.             -- Prologue
  3771.             -- Exports everything
  3772.                   IMPORTS
  3773.             -- EDIMS Upper bounds
  3774.                   ub-application-reference, ub-authorization-information,
  3775.                   ub-authorization-information-qualifier, ub-communications-agreement-id, 
  3776.                   ub-edi-application-security-elements, ub-edi-message-type, 
  3777.                   ub-identification-code, ub-identification-code-qualifier, ub-interchange-control- 
  3778.                   reference,
  3779.                   ub-local-reference, ub-processing-priority-code, ub-reason-code, ub-recipient- 
  3780.                   reference,
  3781.                   ub-recipient-reference-qualifier, ub-routing-address, ub-syntax-identifier,
  3782.                   ub-syntax-version
  3783.                   ----
  3784.                   FROM EDIMSUpperBounds {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) upper- 
  3785.                   bounds(5) }
  3786.             -- EDIMS Object Identifiers
  3787.                   id-edifact-ISO646, id-for-action
  3788.                   -----
  3789.                   FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  3790.                   object-identifiers(0) }
  3791.             --  MTS Upper Bounds
  3792.                   ub-bit-options, ub-integer-options, ub-supplementary-info-length
  3793.                   ----
  3794.                   FROM MTSUpperBounds {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) upper-bounds(3) 
  3795.                   }
  3796.             -- MTS Abstract Service
  3797.                   MessageDeliveryTime, ORAddress, ORName, OtherMessageDeliveryFields, 
  3798.                     ContentIntegrityCheck
  3799.                   ----
  3800.                   FROM MTSAbstractService {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) mts- 
  3801.                   abstract-service(1) }
  3802.             -- IPM Abstract Service
  3803.             EXTENDED-BODY-PART-TYPE, ExternallyDefinedBodyPart,
  3804.                     ----
  3805.                     FROM IPMSInformationObjects {joint-iso-ccitt mhs-motis(6) ipms(1) modules(0) 
  3806.                     information-objects(2) };
  3807.             --  END  Imports
  3808.             -- ABSTRACT INFORMATION OBJECTS
  3809.             -- Overview
  3810.                   tyInformationObject ::= CHOICE {
  3811.                   edim                  [0] EDIM,
  3812.                   edin                  [1] EDIN }
  3813.             -- Common data types
  3814.             -- EDIM Identifier
  3815.                   tyEDIMIdentifier ::= SET {
  3816.                   user                  [0] ORName,
  3817.                   user-relative-identifier    [1] LocalReference }
  3818.                   tyLocalReference ::= PrintableString 
  3819.                   (SIZE (0..ub-local-reference))
  3820.             -- Extensions
  3821.                   tyExtensionField ::= SEQUENCE {
  3822.                   type                  [0] EDIM-EXTENSION,
  3823.                   criticality           [1] Criticality DEFAULT FALSE,
  3824.                   value                 [2] ANY DEFINED BY type DEFAULT 
  3825.                   NULL NULL }
  3826.  
  3827.                  tyCriticality ::= BOOLEAN
  3828.           -- EDIM Extension MACRO
  3829.                maEDIM-EXTENSION MACRO ::=
  3830.                BEGIN
  3831.  
  3832.                TYPE NOTATION         ::= DataType Critical | empty
  3833.                VALUE NOTATION        ::= value(VALUE OBJECT IDENTIFIER)
  3834.  
  3835.                DataType              ::= type (X) Default | empty
  3836.                Default               ::= "DEFAULT" value (X) | empty
  3837.                Critical              ::= "CRITICAL" | empty
  3838.  
  3839.                END -- of extension
  3840.           -- EDI Messages
  3841.                tyEDIM ::= SEQUENCE {
  3842.                heading               Heading,
  3843.                body                  Body }
  3844.           -- Heading Field Component Types
  3845.           -- Interchange Recipient / Sender
  3846.           -- Identification Code
  3847.                tyIdentificationCode ::= 
  3848.                T61String (SIZE (1..ub-identification-code))
  3849.           -- Identification Code Qualifier
  3850. tyIdentificationCodeQualifier                     ::= T61String (SIZE (1..ub-identification-code- 
  3851.                     qualifier))
  3852.             -- Routing Address
  3853.                   tyRoutingAddress ::= T61String (SIZE 
  3854.                   (1..ub-routing-address))
  3855.             -- Heading Fields
  3856.                   tyHeading ::= SEQUENCE {
  3857.                   this-EDIM             [1] ThisEDIMField,
  3858.                   originator            [2] OriginatorField OPTIONAL,
  3859.                   recipients            [3] RecipientsField OPTIONAL,
  3860.                   edin-receiver         [4] EDINReceiverField OPTIONAL,
  3861.                   responsibility-forwarded    [5] ResponsibilityForwarded 
  3862.                   DEFAULT FALSE,
  3863.                   edi-bodypart-type     [6] EDIBodypartType DEFAULT {id- 
  3864.                   edifact-ISO646},
  3865.                   incomplete-copy       [7] IncompleteCopyField DEFAULT 
  3866.                   FALSE,
  3867.                   expiry-time           [8] ExpiryTimeField OPTIONAL,
  3868.                   related-messages      [9] RelatedMessagesField OPTIONAL,
  3869.                   obsoleted-EDIMs       [10] ObsoletedEDIMsField OPTIONAL, 
  3870.                   edi-application-security-elements     [11] 
  3871.                   EDIApplicationSecurityElementsField OPTIONAL
  3872.                   cross-referencing-information    [12] 
  3873.                   CrossReferencingInformationField OPTIONAL,
  3874.  
  3875.                   -- Begin Fields from EDIFACT Interchange
  3876.                   edi-message-type      [13] EDIMessageTypeField OPTIONAL,
  3877.                   service-string-advice [14] ServiceStringAdviceField 
  3878.                   OPTIONAL,
  3879.                   syntax-identifier     [15] SyntaxIdentifierField 
  3880.                   OPTIONAL,
  3881.                   interchange-sender    [16] InterchangeSenderField 
  3882.                   OPTIONAL,
  3883.                   date-and-time-of-preparation     [17] 
  3884.                   DateAndTimeOfPreparationField OPTIONAL,
  3885.                   application-reference [18] ApplicationReferenceField 
  3886.                   OPTIONAL,
  3887.                   -- End Fields from EDIFACT
  3888.  
  3889.                   heading-extensions    [19] HeadingExtensionsField 
  3890.                   OPTIONAL }
  3891.             -- This  EDIM
  3892.                   tyThisEDIMField ::= EDIMIdentifier
  3893.             -- Originator
  3894.                   tyOriginatorField ::= ORName
  3895.             -- Recipients
  3896.                   Recipien 
  3897.                     RecipientsSubField
  3898.                   c016 tyRecipientsSubFieldty:RecipientsSubField ::= SEQUENCE 
  3899.                     {
  3900.                   recipient                [1] RecipientField,
  3901.                   action-request          [2] ActionRequestField DEFAULT {id- 
  3902.                   for-action},
  3903.                   edi-notification-requests-field   [3] 
  3904.                   EDINotificationRequestsField OPTIONAL,
  3905.                   responsibility-passing-allowed    [4] 
  3906.                   ResponsibilityPassingAllowedField DEFAULT FALSE,
  3907.  
  3908.                   -- Begin Fields from EDIFACT UNB
  3909.                   interchange-recipient [5] InterchangeRecipientField 
  3910.                   OPTIONAL,
  3911.                   recipient-reference    [6] RecipientReferenceField 
  3912.                   OPTIONAL,
  3913.                   interchange-control-reference     [7] 
  3914.                   InterchangeControlReferenceField OPTIONAL,
  3915.                   processing-priority-code     [8] 
  3916.                   ProcessingPriorityCodeField OPTIONAL,
  3917.                   acknowledgement-request      [9] 
  3918.                   AcknowledgementRequestField DEFAULT FALSE,
  3919.                   communications-agreement-id  [10] 
  3920.                   CommunicationsAgreementIdField OPTIONAL,
  3921.                   test-indicator          [11] TestIndicatorField DEFAULT 
  3922.                   FALSE,
  3923.                   -- End Fields from EDIFACT UNB
  3924.  
  3925.                   -- Begin Fields from ANSIX12 ISA
  3926.                   authorization-information    [12] 
  3927.                   AuthorizationInformationField OPTIONAL,
  3928.                   -- End Fields from ANSIX12 ISA
  3929.  
  3930.                   recipient-extensions   [13] RecipientExtensionsField 
  3931.                   OPTIONAL }
  3932.           -- Recipient
  3933.                c017 tyRecipientFieldty:RecipientField ::= ORName
  3934.           -- Action Request
  3935.                c018 tyActionRequestFieldty:ActionRequestField ::= OBJECT 
  3936.                  IDENTIFIER
  3937.           -- EDI Notification Requests
  3938.                c019 
  3939.                  tyEDINotificationRequestsFieldty:EDINotificationRequests 
  3940.                  Field ::= SEQUENCE {
  3941.                edi-notification-requests    [0] EDINotificationRequests 
  3942.                DEFAULT {},
  3943.                edi-notification-security    [1] EDINotificationSecurity 
  3944.                DEFAULT {},
  3945.                edi-reception-security  [2] EDIReceptionSecurity DEFAULT 
  3946.                {} }
  3947.                tyEDINotificationRequeststy:EDINotificationRequests ::= 
  3948.                  BIT STRING { 
  3949.                pn                        (0), 
  3950.                nn                        (1), 
  3951.                fn                        (2) }(SIZE (0..ub-bit-options))
  3952.                BIT 
  3953.                  BIT STRING { 
  3954.                proof (0), 
  3955.                non-repudiation (1) } (SIZE (0..ub-bit-options))
  3956.                tyEDIReceptionSecurityty:EDIReceptionSecurity ::= BIT 
  3957.                  STRING {
  3958.                proof (0), 
  3959.                non-repudiation (1) }(SIZE (0..ub-bit-options))
  3960.           -- Interchange recipient
  3961.                c021 
  3962.                  tyInterchangeRecipientFieldty:InterchangeRecipientField 
  3963.                  ::= SEQUENCE {
  3964.                recipient-identification-code     [0] 
  3965.                IdentificationCode,
  3966.                identification-code-qualifier     [1] 
  3967.                IdentificationCodeQualifier OPTIONAL,
  3968.                routing-address         [2] RoutingAddress OPTIONAL }
  3969.           -- Recipient reference
  3970.                c022 tyRecipientReferenceFieldty:RecipientReferenceField 
  3971.                  ::= SEQUENCE {
  3972.                recipient-reference    [0] RecipientReference,
  3973.                recipient-reference-qualifier     [1] 
  3974.                RecipientReferenceQualifier OPTIONAL }
  3975.                tyRecipientReferencety:RecipientReference ::= T61String 
  3976.                  (SIZE (1..ub-recipient-reference))
  3977.                tyRecipientReferenceQualifierty:RecipientReferenceQualifie 
  3978.                  r ::=  T61String (SIZE (1..ub-recipient-reference- 
  3979.                  qualifier))
  3980.           -- Recipient Extensions
  3981.                c023 tyRecipientExtensionsFieldty:RecipientExtensionsField 
  3982.                  ::= SET OF RecipientExtensionsSubField
  3983.                tyRecipientExtensionsSubFieldty:RecipientExtensionsSubFiel 
  3984.                  d ::= ExtensionField
  3985.           -- EDIN receiver
  3986.                c024 tyEDINReceiverFieldty:EDINReceiverField ::= SEQUENCE {
  3987.                edin-receiver-name     [0] ORName,
  3988.                original-edim-identifier     [1] EDIMIdentifier 
  3989.                OPTIONAL,
  3990.                first-recipient         [2] FirstRecipientField OPTIONAL}
  3991.           -- Responsibility Forwarded indication
  3992.                c025 tyResponsibilityForwardedty:ResponsibilityForwarded ::= BOOLEAN -- 
  3993.                  Default False
  3994.           -- EDI Body Part  Types  -  identifies  EDI  Standard,  Character  set  and
  3995.           encoding
  3996.                c026 tyEDIBodyPartTypety:EDIBodyPartType ::= OBJECT IDENTIFIER -- 
  3997.                  default EDIFACT-ISO646
  3998.           -- EDI message type
  3999.                tyEDIMessageTypeField ::= SET OF 
  4000.                EDIMessageTypeFieldSubField
  4001.                               tyEDIMessageTypeFieldSubField ::= T61String (SIZE (1..ub-edi-message-type))
  4002.           -- Responsibility Passing Allowed
  4003.                                    tyResponsibilityPassingAllowedField ::= BOOLEAN -- Default FALSE
  4004.  
  4005.           -- Incomplete Copy
  4006. tyIncompleteCopyField                  ::= 
  4007.                  BOOLEAN  -- Default False
  4008.                          -- Expiry time
  4009.                tyExpiryTimeField ::= UTCTime
  4010.           -- Related Messages
  4011.                tyRelatedMessagesField ::= 
  4012.                SEQUENCE OF RelatedMessageReference
  4013.                tyRelatedMessageReference ::= 
  4014.                  CHOICE {
  4015.                edi-message-reference [0] EDIMIdentifier,
  4016.                external-message-reference  [1] 
  4017.                ExternalMessageReference }
  4018.                tyExternalMessageReference ::= 
  4019.                  EXTERNAL
  4020.           -- Obsoleted EDIMs
  4021. tyObsoletedEDIMsField                        ::= 
  4022.                     SEQUENCE OF ObsoletedEDIMsSubfield
  4023.                   tyObsoletedEDIMsSubfield ::= 
  4024.                     EDIMIdentifier
  4025.             -- EDI Application Security Elements
  4026.                                           tyEDIApplicationSecurityElementsField ::= SEQUENCE {
  4027.                     edi-application-security-element    [0] 
  4028.                   EDIApplicationSecurityElement OPTIONAL,
  4029.                     edi-encrypted-primary-bodypart [1] BOOLEAN OPTIONAL,
  4030.                     edi-application-security-extensions [2] 
  4031.                   EDIApplicationSecurityExtensions OPTIONAL }
  4032.                   tyEDIApplicationSecurityElement   
  4033.                   ::= BIT STRING (SIZE (0..ub-edi-application-security- 
  4034.                   elements))
  4035.                   tyEDIApplicationSecurityExtensions   
  4036.                     ::= SEQUENCE OF EDIApplicationSecurityExtension
  4037.                   : 
  4038.                     ::= ExtensionsField
  4039.             -- Cross Referencing Information
  4040.                   c036 
  4041.                     tyCrossReferencingInformationFieldty:CrossReferencingInf 
  4042.                     ormationField         ::= SET OF 
  4043.                     CrossReferencingInformationSubField
  4044.                   tyCrossReferencingInformationSubFieldty:CrossReferencingIn 
  4045.                     formationSubField ::= SEQUENCE {
  4046.                   application-cross-reference [0] 
  4047.                   ApplicationCrossReference,
  4048.                   message-reference     [1] MessageReference OPTIONAL,
  4049.                   body-part-reference   [2] BodyPartReference }
  4050.                   tyApplicationCrossReferencety:ApplicationCrossReference  
  4051.                     ::= OCTET STRING
  4052.                   tyMessageReferencety:MessageReference    ::= 
  4053.                     EDIMIdentifier
  4054.             -- Service String Advice
  4055.                   c037 tyServiceStringAdviceFieldty:ServiceStringAdviceField 
  4056.                     ::= SEQUENCE {
  4057.                   component-data-element-separator [0] 
  4058.                   ComponentDataElementSeparator,
  4059.                   data-element-separator [1] DataElementSeparator,
  4060.                   decimal-notation      [2] DecimalNotation,
  4061.                   release-indicator     [3] ReleaseIndicator OPTIONAL,
  4062.                   reserved              [4] Reserved OPTIONAL,
  4063.                   segment-terminator    [5] SegmentTerminator }
  4064.                   tyComponentDataElementSeparatorty:ComponentDataElementSepa 
  4065.                     rator                 ::= OCTET STRING (SIZE (1))
  4066.                   tyDataElementSeparatorty:DataElementSeparator ::= OCTET 
  4067.                     STRING (SIZE (1))
  4068.                   tyDecimalNotationty:DecimalNotation ::= OCTET STRING (SIZE 
  4069.                     (1))
  4070.                   tyReleaseIndicatorty:ReleaseIndicator    ::= OCTET STRING 
  4071.                     (SIZE (1))
  4072.                   tyReservedty:Reserved    ::= OCTET STRING (SIZE (1))
  4073.                   tySegmentTerminatorty:SegmentTerminator  ::= OCTET STRING 
  4074.                     (SIZE (1))
  4075.             -- Syntax Identifier
  4076.                   c038 tySyntaxIdentifierFieldty:SyntaxIdentifierField ::= 
  4077.                     SEQUENCE {
  4078.                   syntax-identifier     SyntaxIdentifier,
  4079.                   syntax-version        SyntaxVersion }
  4080.                   tySyntaxIdentifierty:SyntaxIdentifier ::= T61String (SIZE 
  4081.                     (1..ub-syntax-identifier))
  4082.                   tySyntaxVersionty:SyntaxVersion ::= PrintableString (SIZE 
  4083.                     (1..ub-syntax-version))
  4084.             -- Interchange sender
  4085.                   tyInterchangeSenderField ::= 
  4086.                   SEQUENCE {
  4087.                   sender-identification [0] IdentificationCode,
  4088.                   identification-code-qualifier    [1] 
  4089.                   IdentificationCodeQualifier OPTIONAL,
  4090.                   address-for-reverse-routing [2] RoutingAddress OPTIONAL 
  4091.                   } -- EDIFACT Routing Information
  4092.             -- Date and Time of preparation
  4093.                                   tyDateAndTimeOfPreparationField ::= UTCTime
  4094.           -- Interchange control reference
  4095.                                    tyInterchangeControlReferenceField ::= T61String (SIZE (1..ub-interchange- 
  4096.                control-reference))
  4097.           -- Application reference
  4098. tyApplicationReferenceField                     
  4099.                     ::= T61String (SIZE (1..ub-application-reference))
  4100.             -- Processing Priority Code
  4101.                                           tyProcessingPriorityCodeField ::= T61String (SIZE (1..ub-processing-priority- 
  4102.                   code))
  4103.             -- Acknowledgement Request
  4104.                                           tyAcknowledgementRequestField ::= BOOLEAN -- default FALSE
  4105.             -- Communications Agreement Id
  4106.                                   tyCommunicationsAgreementIdField ::= T61String (SIZE (1..ub-communications- 
  4107.                  agreement-id))
  4108.           -- Test indicator
  4109.                tyTestIndicatorField ::= BOOLEAN  
  4110.                -- default FALSE
  4111.           -- Authorization Information
  4112.                                    tyAuthorizationInformationField ::= SEQUENCE {
  4113.                authorization-information   [0] 
  4114.                AuthorizationInformation,
  4115.                authorization-information-qualifier   [1] 
  4116.                AuthorizationInformationQualifier OPTIONAL }
  4117.                tyAuthorizationInformation ::= 
  4118.                T61String (SIZE (1..ub-authorization-information))
  4119. tyAuthorizationInformationQualifier                  ::= T61String (SIZE (1..ub-authorization- 
  4120.                  information-qualifier))
  4121.           -- Heading Extensions
  4122.                tyHeadingExtensionsField ::= 
  4123.                SET OF HeadingExtensionsSubField
  4124.                ::= 
  4125.                  ::= ExtensionField
  4126.           -- EDIM body
  4127.                c008 tyBodyty:Body ::= SEQUENCE {
  4128.                primary-body-part     PrimaryBodyPart,
  4129.                additional-body-parts OtherBodyParts OPTIONAL }
  4130.                tyPrimaryBodyPartty:PrimaryBodyPart ::= CHOICE {
  4131.                edi-body-part         [0] EDIBodyPart,
  4132.                forwarded-EDIM        [1] EDIMBodyPart }
  4133.                tyOtherBodyPartsty:OtherBodyParts ::= SEQUENCE OF EDIM- 
  4134.                  ExternallyDefinedBodyPart
  4135.           -- EDI body part
  4136.                c049 tyEDIBodyPartty:EDIBodyPart ::= OCTET STRING
  4137.           -- Forwarded EDIM body part
  4138.                c050 tyEDIMBodyPartty:EDIMBodyPart ::= SEQUENCE {
  4139.                parameters            [0] MessageParameters OPTIONAL,
  4140.                data                  [1] MessageData }
  4141.                tyMessageParametersty:MessageParameters ::= SET {
  4142.                delivery-time         [0] MessageDeliveryTime OPTIONAL,
  4143.                delivery-envelope     [1] OtherMessageDeliveryFields 
  4144.                OPTIONAL,
  4145.                other-parameters      [2] EDISupplementaryInformation 
  4146.                OPTIONAL }
  4147.                tyMessageDataty:MessageData ::= SEQUENCE {
  4148.                heading               Heading,
  4149.                body                  BodyOrRemoved }
  4150.                tyBodyOrRemovedty:BodyOrRemoved ::= SEQUENCE {
  4151.                primary-or-removed    PrimaryOrRemoved,
  4152.                additional-body-parts AdditionalBodyParts OPTIONAL }
  4153.                tyPrimaryOrRemovedty:PrimaryOrRemoved ::= CHOICE {
  4154.                removed-edi-body      [0] NULL,
  4155.                primary-body-part     [1] EXPLICIT PrimaryBodyPart }
  4156.                tyAdditionalBodyPartsty:AdditionalBodyParts ::= SEQUENCE 
  4157.                  OF CHOICE {
  4158.                external-body-part    [0] EDIM- 
  4159.                ExternallyDefinedBodyPart,
  4160.                place-holder          [1] BodyPartPlaceHolder }  -- This 
  4161.                type is for Body Part Removal
  4162.                tyBodyPartPlaceHolderty:BodyPartPlaceHolder ::= EDIM- 
  4163.                  ExternallyDefinedBodyPart  -- Only the data 
  4164.                                      -- portion of the Externally 
  4165.                Defined Body shall be removed.
  4166.                                      -- See text in .
  4167.           -- EDIM Externally Defined Body Parts
  4168.           c05                   tyEDIM-ExternallyDefinedBodyPartty:EDIM-
  4169.           ExternallyDefinedBodyPart ::= SEQUENCE {
  4170.           body-part-reference   [0] BodyPartReference OPTIONAL,
  4171.                  external-body-part      [1] ExternallyDefinedBodyPart -- 
  4172.                  from IPMS --}
  4173.                tyBodyPartReference ::= INTEGER -- 
  4174.                shall be unique within a EDIM
  4175.           -- Supplementary Info
  4176.                                    tyEDISupplementaryInformation ::= IA5String (SIZE (1..ub-supplementary-info- 
  4177.                length))
  4178.           -- EDI Notifications (EDINs)
  4179. tyEDIN                  ::= CHOICE {
  4180.                  positive-notification     [0] 
  4181.                PositiveNotificationFields,
  4182.                  negative-notification     [1] 
  4183.                NegativeNotificationFields,
  4184.                  forwarded-notification    [2] 
  4185.                ForwardedNotificationFields }
  4186.                tyPN ::= EDIN -- with positive-notification 
  4187.                chosen
  4188.                tyNN ::= EDIN -- with negative-notification chosen
  4189.                tyFN ::= EDIN -- with forwarded-notification chosen
  4190.           -- Common fields
  4191.                tyCommonFields ::= SEQUENCE {
  4192.                subject-edim          [1] SubjectEDIMField,
  4193.                edin-originator       [2] EDINOriginatorField,
  4194.                first-recipient       [3] FirstRecipientField OPTIONAL,
  4195.                notification-time     [4] NotificationTimeField,
  4196.                notification-security-elements   [5] 
  4197.                SecurityElementsField OPTIONAL,
  4198.                edin-initiator        [6] EDINInitiatorField,
  4199.                notifications-extensions    [7] 
  4200.                NotificationExtensionsField OPTIONAL }
  4201.           -- Subject EDIM Identifier
  4202.                tySubjectEDIMField ::= 
  4203.                EDIMIdentifier
  4204.           -- EDI Notification Originator
  4205. tyEDINOriginatorField                          ::= ORName
  4206.                -- First Recipient
  4207.                       tyFirstRecipientField ::= ORName
  4208.                -- Notification Time
  4209.                       tyNotificationTimeField ::= 
  4210.                       UTCTime
  4211.                -- Security Elements
  4212.                       tySecurityElementsField ::= 
  4213.                       SEQUENCE {
  4214.                       original-content      [0] Content OPTIONAL,
  4215.                       original-content-integrity-check [1] 
  4216.                       ContentIntegrityCheck OPTIONAL,
  4217.                       edi-application-security-elements     [2] 
  4218.                       EDIApplicationSecurityElementsField OPTIONAL,
  4219.                       security-extensions   [3] SecurityExtensionsField 
  4220.                       OPTIONAL }
  4221.                       tySecurityExtensionsField ::= 
  4222.                       SET OF SecurityExtensionsSubField
  4223.                       tySecurityExtensionsSubField 
  4224.                       ::= ExtensionField
  4225.                -- EDIN Initiator
  4226. tyEDINInitiatorField                ::= ENUMERATED {
  4227.              internal-ua (0),
  4228.              external-ua (1),
  4229.              internal-ms (2)}
  4230.           -- Notification Extensions
  4231.                                    tyNotificationExtensionsField ::= SET OF NotificationExtensionsSubField
  4232.                               tyNotificationExtensionsSubField ::= ExtensionField
  4233.           -- Positive Notification fields
  4234. tyPositiveNotificationFields                  ::= SEQUENCE {
  4235.                pn-common-fields      [0] CommonFields,
  4236.                pn-supplementary-information     [1] 
  4237.                EDISupplementaryInformation OPTIONAL,
  4238.                pn-extensions         [2] PNExtensionsField OPTIONAL }
  4239.           -- Positive Notification Extensions
  4240.                tyPNExtensionsField ::= SET OF 
  4241.                PNExtensionsSubField
  4242.                tyPNExtensionsSubField ::= 
  4243.                  ExtensionField
  4244.           -- Negative notification fields
  4245.                                    tyNegativeNotificationFields ::= SEQUENCE {
  4246.                nn-common-fields      [0] CommonFields,
  4247.                nn-reason-code        [1] NNReasonCodeField,
  4248.                nn-supplementary-information     [2] 
  4249.                EDISupplementaryInformation OPTIONAL,
  4250.                nn-extensions         [3] NNExtensionsField OPTIONAL }
  4251.           -- Negative Notification Reason Codes
  4252.                tyNNReasonCodeField ::= CHOICE {
  4253.                nn-ua-ms-reason-code  [0] NNUAMSReasonCodeField,
  4254.                nn-user-reason-code   [1] NNUserReasonCodeField,
  4255.                nn-pdau-reason-code   [2] NNPDAUReasonCodeField }
  4256.           -- Negative Notification Reason Codes from an EDI-UA or EDI-MS
  4257. tyNNUAMSReasonCodeField                  ::= SEQUENCE {
  4258.                nn-ua-ms-basic-code   [0] NNUAMSBasicCodeField,
  4259.                nn-ua-ms-diagnostic   [1] NNUAMSDiagnosticField OPTIONAL 
  4260.                }
  4261.           --    Negative Notification Basic Reason Codes from an  EDI-UA  or  EDI-MS.
  4262.           These codes are                    
  4263.           --    those specified in Annex B of Recommendation F.435    
  4264.           --    for the element of service "EDI Notification Request".
  4265.                tyNNUAMSBasicCodeField ::= INTEGER{
  4266.                ecunspecified (0),
  4267.                eccannot-deliver-to-user (1),
  4268.                  -- the EDI Interchange can not be passed on to the 
  4269.                user
  4270.                ecdelivery-timeout (2),
  4271.                  -- the EDI Interchange could not be passed on to the 
  4272.                user within
  4273.                  -- a specified time limit
  4274.                ecmessage-discarded (3),
  4275.                  -- the UA/MS discarded the message before handoff to 
  4276.                user
  4277.                ecsubscription-terminated (4),
  4278.                  -- recipient's subscription terminated after delivery 
  4279.                but before
  4280.                  -- handoff to user
  4281.                ecforwarding-error (5),
  4282.                  -- EDI Forwarding was attempted, but failed.
  4283.                ecsecurity-error (6)
  4284.                  -- security error
  4285.  
  4286.                -- physical delivery errors indicated by "cannot- 
  4287.                deliver-to-user"
  4288.                 } (0..ub-reason-code)
  4289.           -- Negative Notification Diagnostic Codes from an EDI-UA or EDI-MS
  4290.           tyNNUAMSDiagnosticField ::= INTEGER {
  4291.           -- This field  may  be  used  to  further  specify  the  error
  4292.           signalled in nn-ua-ms-basic-code
  4293.           -   Additional   information   may   be   indicated   in   nn-
  4294.           supplementary-information
  4295.  
  4296.           -- general diagnostic codes
  4297. ecprotocol-violation           (1),
  4298.             -- used if the UA detects a protocol error
  4299.           ecedim-originator-unknown (2),
  4300.           ecedim-recipient-unknown (3),
  4301.           ecedim-recipient-ambiguous 
  4302.           (4),
  4303.             -- used  if  the  EDIM  recipients  or  originator  are  not
  4304.           valid
  4305.                     ecaction-request-not-supported (5),
  4306.             -- used when  the  action  requested  by  the  recipient  is
  4307.           not performed
  4308.           ecedim-expired (6),
  4309.             --  used  when  the  expiry  date  of  the   received   EDIM
  4310.           occurred before the subject EDIM
  4311.             --  was  successfully  passed  to  the  user  or   forwarded
  4312.           by the EDI-UA
  4313.           ecedim-obsoleted (7),
  4314.             -- used when  the  EDIM  Identifier  of  the  received  EDIM
  4315.           was contained in the Obsoleted EDIM field
  4316.             -- of a previously received EDIM.
  4317.                  ecduplicate-edim (8),
  4318.                    -- used when the same EDIM is received more than once 
  4319.                  from the same originator
  4320.                  ecunsupported-extension (9),
  4321.                    -- used if the EDIM contains an extension which is 
  4322.                  not supported by the UA
  4323. ecincomplete-copy-rejected                  
  4324.                  (10),
  4325.                    -- used if the EDI-UA does not accept EDIMs with the 
  4326.                  Incomplete Copy Indication true
  4327.                                   ecedim-too-large-for-application (11),
  4328.                    -- used if the EDIM cannot be delivered to the user 
  4329.                  due to length constraints
  4330.                  -- forwarding error diagnostic codes
  4331.                                   ecforwarded-edim-not-delivered (12),
  4332.                    -- used when an Non-Delivery Report is received for 
  4333.                  forwarded EDIM
  4334.                                   ecforwarded-edim-delivery-time-out (13),
  4335.                    -- used when no Delivery Report is received within a 
  4336.                  given period
  4337.                  ecforwarding-loop-detected 
  4338.                  (14),
  4339.                    -- used if the UA receives an EDIM wich contains a 
  4340.                  previously forwarded EDIM
  4341.                                   ecunable-to-accept-responsibility (15),
  4342.                    -- used if the EDI-UA cannot accept or forward 
  4343.                  responsibility
  4344.  
  4345.                  -- interchange header diagnostic codes
  4346. ecinterchange-sender-unknown                  (16),
  4347.                    -- used when the UA does not recognizes the 
  4348.                  interchange-sender of the EDI interchange
  4349.                                   ecinterchange-recipient-unknown (17),
  4350.                    -- used when the UA cannot find a valid interchange 
  4351.                  recipient in the Recipient Specifier
  4352.                  ecinvalid-heading-field (18),
  4353.                  ecinvalid-bodypart-type (19),
  4354.                  ecinvalid-message-type (20),
  4355.                  ecinvalid-syntax-id (21),
  4356.  
  4357.                  -- security error diagnostic codes
  4358.                  ecmessage-integrity-failure 
  4359.                  (22),
  4360. ecforwarded-message-integrity-failure                  (23),
  4361.                  ecunsupported-algorithm (24),
  4362.                  ecdecryption-failed (25),
  4363.                  ectoken-error (26),
  4364.                                   ecunable-to-sign-notification (27),
  4365.                                   ecunable-to-sign-message-receipt (28),
  4366.                  ecauthentication-failure (29),
  4367.                  ecsecurity-context-failure 
  4368.                  (30),
  4369. ecmessage-sequence-failure                  
  4370.                  (31),
  4371.                                   ecmessage-security-labelling-failure (32),
  4372.                  ecrepudiation-failure (33),
  4373.                  ecproof-of-failure (34)
  4374.                  } (1..ub-reason-code)
  4375.           -- Negative Notification Reason Codes from a user
  4376.                tyNNUserReasonCodeField ::= SEQUENCE {
  4377.                nn-user-basic-code    [0]  NNUserBasicCodeField,
  4378.                nn-user-diagnostic    [1]  NNUserDiagnosticField 
  4379.                OPTIONAL }
  4380.           -- Negative Notification Basic Reason Codes from a user
  4381.                tyNNUserBasicCodeField ::= INTEGER {
  4382.                ecunspecified (0),
  4383.                ecsyntax-error (1),
  4384.                  -- used when the user discovers a syntax error within 
  4385.                the EDI interchange
  4386. ecinterchange-sender-unknown                (2),
  4387.                               ecinterchange-recipient-unknown (3),
  4388.                  -- used when the UA cannot find a valid interchange 
  4389.                recipient in the Recipient Specifier
  4390.                ecinvalid-heading-field (4),
  4391.                ecinvalid-bodypart-type (5),
  4392.                ecinvalid-message-type (6),
  4393.                               ecfunctional-group-not-supported (7),
  4394.                ecsubscription-terminated (8),
  4395.                  -- unknown to EDIMS-User service
  4396.                ecno-bilateral-agreement (9),
  4397. ecuser-defined-reason                (10)
  4398.                } (0..ub-reason-code)
  4399.           -- Negative Notification Diagnostic Reason Codes from a user
  4400.                tyNNUserDiagnosticCodeField ::= INTEGER 
  4401.                -- Contains reason passed by user when the value of nn- 
  4402.                user-basic-code is user-defined-reason.
  4403.                -- Additional information may be indicated in nn- 
  4404.                supplementary-information
  4405.  
  4406.           -- Negative Notification Reason Codes from a PDAU
  4407.                tyNNPDAUReasonCodeField ::= SEQUENCE {
  4408.                nn-pdau-basic-code    [0]  NNPDAUBasicCodeField,
  4409.                nn-pdau-diagnostic    [1]  NNPDAUDiagnosticField 
  4410.                OPTIONAL }
  4411.           -- Negative Notification Basic Reason Codes from a PDAU
  4412.                tyNNPDAUBasicCodeField ::= INTEGER {
  4413.                ecunspecified (0),
  4414.                ecundeliverable-mail (1),
  4415.                  -- used if the PDAU determines that it cannot perform 
  4416.                physical delivery of the EDIM
  4417.                               ecphysical-rendition-not-performed (2)
  4418.                  -- used if the PDAU cannot perform the physical 
  4419.                rendition of the EDIM
  4420.                 } (0..ub-reason-code)
  4421.           -- Negative Notification Diagnostic Codes from a PDAU
  4422.           tyNNPDAUDiagnosticField ::= INTEGER { 
  4423.           -- This field  may  be  used  to  further  specify  the  error
  4424.           signalled in nn-pdau-basic-code
  4425.           -- Addition l  information  may  be  indicated  in   the   nn-
  4426.           supplementary-information
  4427.           ecundeliverable-mail-physical-delivery-address- 
  4428. incorrect           (1),
  4429.           ecundeliverable-mail-physical-delivery-office-incorrect- 
  4430.                     or-invalid (2),
  4431.           ecundeliverable-mail-physical-delivery-address- 
  4432.                     incomplete (3),
  4433.                     ecundeliverable-mail-recipient-unknown (4),
  4434.                     ecundeliverable-mail-recipient-deceased (5),
  4435.                  ecundeliverable-mail-recipient-refused-to- 
  4436.           accept 
  4437.           (6),
  4438.           ecundeliverable-mail-organization- 
  4439. expired                  (7),
  4440.                  ecundeliverable-mail-recipient-did-not- 
  4441.                  claim (8),
  4442.                  ecundeliverable-mail-recipient-changed-address- 
  4443.                                   permanently (9),
  4444.                  ecundeliverable-mail-recipient-changed-address- 
  4445.                                   temporarily (10),
  4446.                  ecundeliverable-mail-recipient-changed-temporary- 
  4447.                                   address (11),
  4448.                                   ecundeliverable-mail-new-address-unknown (12),
  4449.                  ecundeliverable-mail-recipient-did-not-want 
  4450. forwarding                     (13),
  4451.                     ecundeliverable-mail-originator-prohibited- 
  4452.                                         forwarding (14),
  4453.                                         ecphysical-rendition-attributes-not-supported (15)
  4454.                      } (1..ub-reason-code)
  4455.             -- Negative Notification Extension Field(s)
  4456.                   tyNNExtensionsField ::= SET OF 
  4457.                   NNExtensionsSubField
  4458.                   tyNNExtensionsSubField ::= 
  4459.                   ExtensionField
  4460.             -- Forwarded Notification Fields
  4461.                                   tyForwardedNotificationFields ::= SEQUENCE {
  4462.                fn-common-fields      [0] CommonFields,
  4463.                forwarded-to          [1] ForwardedTo,
  4464.                fn-reason-code        [2] FNReasonCodeField,
  4465.                fn-supplementary-information     [3] 
  4466.                EDISupplementaryInformation OPTIONAL,
  4467.                fn-extensions         [4] FNExtensionsField OPTIONAL }
  4468.           -- Forwarded To
  4469.                tyForwardedTo ::= ORName
  4470.           -- Forwarded Reason Code
  4471.                tyFNReasonCodeField ::= CHOICE {
  4472.                fn-ua-ms-reason-code  [0] FNUAMSReasonCodeField,
  4473.                fn-user-reason-code   [1] FNUserReasonCodeField,
  4474.                fn-pdau-reason-code   [2] FNPDAUReasonCodeFields }
  4475.           -- Forwarding Notification Reason Codes from an EDI-UA or EDI-MS
  4476.                tyFNUAMSReasonCodeField ::= SEQUENCE {
  4477.                fn-ua-ms-basic-code   [0]  FNUAMSBasicCodeField,
  4478.                fn-ua-ms-diagnostic   [1]  FNUAMSDiagnosticField 
  4479.                OPTIONAL,
  4480.                fn-security-check     [2]  FNUAMSSecurityCheckField 
  4481.                DEFAULT FALSE }
  4482.           -- Forwarding Notification Basic Reason Codes from an EDI-UA or EDI-MS
  4483.           tyFNUAMSBasicCodeField ::= INTEGER {
  4484.                  ecunspecified (0),
  4485. econward-routing           (1),
  4486.             --  used  whenever  the   UA   decides   to   re-route   the
  4487.           subject EDIM for local reasons 
  4488.           ecrecipient-unknown (2),
  4489.           ecoriginator-unknown (3),
  4490.                  ecforwarded-by-edi-ms (4)
  4491.                   } (0..ub-reason-code)
  4492.           -- Forwarding Notification Diagnostic Reason Codes from an EDI-UA or EDI-MS
  4493.                tyFNUAMSDiagnosticField ::= INTEGER {
  4494.                -- This field may be used to further specify the error 
  4495.                signalled in fn-ua-ms-basic-code.
  4496.                -- Additional information may be indicated in fn- 
  4497.                supplementary-information.
  4498.                ecrecipient-name-changed (0),
  4499.                ecrecipient-name-deleted (1)
  4500.                 } (1..ub-reason-code)
  4501.           -- Forwarding Notification Security Check Codes from an EDI-UA or EDI-MS
  4502.                tyFNUAMSSecurityCheckField ::= BOOLEAN
  4503.  
  4504.           -- Forwarding Notification Reason Codes from a user
  4505.                tyFNUserReasonCodeField ::= SEQUENCE {
  4506.                fn-user-basic-code    [0]  FNUserBasicCodeField,
  4507.                fn-user-diagnostic    [1]  FNUserDiagnosticField 
  4508.                OPTIONAL }
  4509.           -- Forwarding Notification Basic Reason Codes from a user
  4510.                ty FNUserBasicCodeField ::= INTEGER {
  4511. ecunspecified                (0),
  4512.                ecforwarded-for-archiving (1),
  4513.                ecforwarded-for-information 
  4514.                (2),
  4515.                               ecforwarded-for-additional-action (3),
  4516.                ecsubscription-changed (4),
  4517.                               echeading-field-not-supported (5),
  4518.                               ecbodypart-type-not-supported (6),
  4519. ecmessage-type-not-supported                (7),
  4520.                               ecsyntax-identifier-not-supported (8),
  4521.                               ecinterchange-sender-unknown (9),
  4522.                               ecinterchange-sender-unknown (10),
  4523.                ecuser-defined-reason (11)
  4524.                } (0..ub-reason-code)
  4525.           -- Forwarding Notification Diagnostic Reason Codes from a user
  4526.                tyFNUserDiagnosticField ::= INTEGER 
  4527.                -- Contains reason passed by user when value of fn-user- 
  4528.                basic-code is user-defined-reason.
  4529.                -- Additional information may be indicated in fn- 
  4530.                supplementary-information.
  4531.  
  4532.           -- Forwarding Notification Reason Codes from a PDAU
  4533. tyFNPDAUReasonCodeField                     ::= SEQUENCE {
  4534.                   fn-pdau-basic-code    [0] FNPDAUBasicCodeField,
  4535.                   fn-pdau-diagnostic    [1] FNPDAUDiagnosticField OPTIONAL 
  4536.                   }
  4537.             -- Forwarding Notification Basic Reason Codes from a PDAU
  4538.                   tyFNPDAUBasicCodeField ::= INTEGER {
  4539.                   ecunspecified (0),
  4540.                   ecforwarded-for-physical-rendition-and- 
  4541.                   delivery 
  4542.                   (1)
  4543.                   } (0..ub-reason-code)
  4544.             -- Forwarding Notification Diagnostic Reason Codes from a PDAU
  4545.                   tyFNPDAUDiagnosticField ::= INTEGER 
  4546.             -- Forwarded Notification Extensions
  4547.                   tyFNExtensionsField ::= SET OF 
  4548.                   FNExtensionsSubField
  4549.                   tyFNExtensionsSubField ::= 
  4550.                   ExtensionField
  4551.                   END -- of EDIMSInformationObjects
  4552.                                               ANNEX C
  4553.  
  4554.                           Reference definition of Message Store Attributes
  4555.  
  4556.                     (This annex forms an integral part of this Recommendation.)
  4557.                   This annex defines for reference purposes the MS attributes  specific
  4558.             to EDIM Messaging. It uses the ATTRIBUTE macro of Recommendation X.501.
  4559.                                                       ----------
  4560.                               moEDIMSMessageStoreAttributes {joint-iso-ccitt
  4561.                     mhs-motis(6) edims(7) modules(0) message-store- 
  4562.                   attributes(4) }
  4563.  
  4564.                   DEFINITIONS IMPLICIT TAGS ::=
  4565.                   BEGIN
  4566.             -- Prologue
  4567.             -- Exports everything.
  4568.                   IMPORTS
  4569.             -- EDIMS Object Identifiers
  4570.             id-bat-body, id-bat-edi-body-part, id-bat-edim-body-part, 
  4571.             id-bat-externally-defined-body-part-types          id-bat-interchange-length,          id-bat-
  4572.             message-data,
  4573.             id-bat-message-parameters         id-hat-acknowledgement-request,          id-hat-application-
  4574.             reference,
  4575.             id-hat-cross-referencing-information,
  4576.             id-hat-date-and-time-of-preparation, id-hat-edi-application-security-element, 
  4577.                     id-hat-edi-application-security-extensions, id-hat-edi-bodypart-type, 
  4578.                     id-hat-edi-message-type, id-hat-edin-receiver, id-hat-expiry-time,
  4579.                     id-hat-heading, id-hat-heading-extensions, id-hat-incomplete-copy,
  4580.                     id-hat-interchange-sender, id-hat-obsoleted-edims, id-hat-originator, id-hat- 
  4581.                     processing-priority-code,
  4582.                     id-hat-recipients, id-hat-related-messages, id-hat-sensitivity, 
  4583.                     id-hat-service-string-advice, id-hat-syntax-identifier,
  4584.                     id-hat-this-edim, id-nat-edin-originator, id-nat-first-recipient, id-nat-fn- 
  4585.                     extensions,
  4586.                     id-nat-fn-reason-code, id-nat-fn-supplementary-info, id-nat-forwarded-to, 
  4587.                     id-nat-nn-extensions, id-nat-nn-reason-code, 
  4588.                     id-nat-nn-supplementary-info, id-nat-notification-extensions, id-nat-notification- 
  4589.                     security-elements,
  4590.                     id-nat-notification-time, id-nat-pn-extensions, id-nat-pn-supplementary-info, id- 
  4591.                     nat-subject-edim, 
  4592.                     id-rat-action-request-for-this-recipient, id-rat-authorization-information-for-this- 
  4593.                     recipient, 
  4594.                     id-rat-communications-agreement-id-for-this-recipient, id-rat-edi-notification- 
  4595.                     requests-for-this-recipient,
  4596.                     id-rat-edim-reception-security-requests-for-this-recipient, 
  4597.                     id-rat-interchange-control-reference-for-this-recipient, id-rat-interchange- 
  4598.                     recipient-for-this-recipient,
  4599.                     id-rat-recipient-extensions-for-this-recipient, id-rat-this-recipient, 
  4600.                     id-rat-recipient-reference-for-this-recipient,
  4601.                     id-rat-responsibility-passing-allowed-for-this-recipient, 
  4602.                     id-rat-test-indicator-for-this-recipient, id-sat-edim-synopsis, id-sat-edims-entry- 
  4603.                     type
  4604.                     -----
  4605.                     FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  4606.                     object-identifiers(0) }
  4607.             -- MS Abstract Service
  4608.                   SequenceNumber
  4609.                   ----
  4610.                   FROM MSAbstractService {joint-iso-ccitt mhs-motis(6) ms(4) modules(0) abstract- 
  4611.                   service(1) }
  4612.           -- EDIMS Information Objects
  4613.                AcknowledgementRequestField, ActionRequestField, ApplicationReferenceField,
  4614.                AuthorizationInformationField,Body, BodyPartReference, 
  4615.                CommunicationsAgreementIdField,
  4616.                CrossReferencingInformationSubField,
  4617.                DateAndTimeOfPreparationField, EDIApplicationSecuriptyElementsField, EDIBodyPart,
  4618.                EDIBodyPartType, EDIMessageTypeFieldSubField, EDINInitiatorField,
  4619.                EDINOriginatorField, EDINotificationRequestsField, EDINReceiverField, 
  4620.                EDISupplementaryInformation, ExpiryTimeField, 
  4621.                FirstRecipientField, FNExtensionsSubField, FNReasonCodeField,
  4622.                ForwardedTo, Heading, HeadingExtensionsSubField, IncompleteCopyField,
  4623.                InterchangeControlReferenceField,  InterchangeRecipientField,
  4624.                InterchangeSenderField, MessageData, MessageParameters, NNReasonCodeField,
  4625.                NNExtensionsSubField, NotificationExtensionsSubField, NotificationTimeField,
  4626.                ObsoletedEDIMsSubfield, OriginatorField, PositiveNotificationFields,
  4627.                PNExtensionsSubField, ProcessingPriorityCodeField, RecipientExtensionsSubField, 
  4628.                RecipientField,
  4629.                RecipientReferenceField, RecipientsSubField, RelatedMessagesField,
  4630.                ResponsibilityForwarded, ResponsibilityPassingAllowedField, SecurityElementsField,
  4631.                ServiceStringAdviceField, SubjectEDIMField, 
  4632.                SyntaxIdentifierField, TestIndicatorField, ThisEDIMField
  4633.                ----
  4634.                FROM EDIMSInformationObjects {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  4635.                information-objects(2) }
  4636.           -- IPMS Information Objects
  4637.                ExternallyDefinedParameters
  4638.                ----
  4639.                FROM IPMSInformationObjects {joint-iso-ccitt mhs-motis(6) ipms(1) modules(0) 
  4640.                information-objects(2) }
  4641.           -- Directory Information Framework
  4642.                ATTRIBUTE
  4643.                ----
  4644.                FROM InformationFramework {joint-iso-ccitt ds(5) modules(1) informationFramework(1) 
  4645.                };
  4646.           --  END imports
  4647.           -- MESSAGE STORE ATTRIBUTES
  4648.           -- Summary Attributes
  4649.           -- EDIMS Entry Type
  4650.                vaedims-entry-type ATTRIBUTE
  4651.                WITH ATTRIBUTE-SYNTAX EDIMSEntryType
  4652.                MATCHES FOR EQUALITY
  4653.                SINGLE VALUE
  4654.                ::= id-sat-edims-entry-type
  4655.                tyEDIMSEntryType ::= ENUMERATED {
  4656.                edim (0),
  4657.                pn (1),
  4658.                nn (2),
  4659.                fn (3) }
  4660.           -- EDIM Synopsis
  4661.                vaedim-synopsis ATTRIBUTE
  4662.                WITH ATTRIBUTE-SYNTAX EDIMSynopsis
  4663.                SINGLE VALUE
  4664.                ::= id-sat-edim-synopsis
  4665.                tyEDIMSynopsis ::= SEQUENCE OF 
  4666.                BodyPartSynopsis
  4667.                tyBodyPartSynopsis ::= CHOICE {
  4668.                message               [0] MessageBodyPartSynopsis,
  4669.                non-message           [1] NonMessageBodyPartSynopsis }
  4670. tyMessageBodyPartSynopsis                     ::= 
  4671.                     SEQUENCE {
  4672.                   number                [0] SequenceNumber,
  4673.                   synopsis              [1] EDIMSynopsis }
  4674.                   tyNonMessageBodyPartSynopsis 
  4675.                   ::= SEQUENCE {
  4676.                   type                  [0] OBJECT IDENTIFIER,
  4677.                   parameters            [1] ExternallyDefinedParameters 
  4678.                   OPTIONAL,
  4679.                   size                  [2] INTEGER,
  4680.                   processed             [3] BOOLEAN DEFAULT FALSE }
  4681.             -- EDI Notification Indicator
  4682.             vaedi-notification-indicator ATTRIBUTE
  4683.                     WITH ATTRIBUTE-SYNTAX EDINotificationIndicator DEFAULT 
  4684.                     (0)
  4685.                     MATCHES FOR EQUALITY
  4686.                     MULTI VALUE ::=
  4687.                     id-sat-edi-notification-indicator
  4688.                   EDINotificationIndicator ::= ENUMERATED {
  4689.                   no-notification-sent  (0),
  4690.                   pn-sent               (1),
  4691.                   nn-sent               (2),
  4692.                   fn-sent               (3) }
  4693.             -- Heading Attributes
  4694.             -- Heading
  4695.                   vaheading ATTRIBUTE
  4696.                   WITH ATTRIBUTE-SYNTAX Heading
  4697.                   SINGLE VALUE
  4698.                   ::= id-hat-heading
  4699.             -- Heading Fields
  4700.                   vathis-edim ATTRIBUTE
  4701.                   WITH ATTRIBUTE-SYNTAX ThisEDIMField
  4702.                   MATCHES FOR EQUALITY
  4703.                   SINGLE VALUE
  4704.                   ::= id-hat-this-edim
  4705.                   vaoriginator ATTRIBUTE
  4706.                   WITH ATTRIBUTE-SYNTAX OriginatorField
  4707.                   MATCHES FOR EQUALITY
  4708.                   SINGLE VALUE
  4709.                   ::= id-hat-originator
  4710.                   vaedin-receiver ATTRIBUTE
  4711.                   WITH ATTRIBUTE-SYNTAX EDINReceiverField
  4712.                   MATCHES FOR EQUALITY
  4713.                   SINGLE VALUE
  4714.                   ::= id-hat-edin-receiver
  4715. varesponsibility-forwarded                  
  4716.                  ATTRIBUTE
  4717.                WITH ATTRIBUTE-SYNTAX ResponsibilityForwarded
  4718.                MATCHES FOR EQUALITY
  4719.                SINGLE VALUE
  4720.                ::= id-hat-responsibility-forwarded
  4721.                vaedi-bodypart-type ATTRIBUTE
  4722.                WITH ATTRIBUTE-SYNTAX EDIBodyPartType
  4723.                MATCHES FOR EQUALITY
  4724.                SINGLE VALUE
  4725.                ::= id-hat-edi-bodypart-type
  4726.                vaincomplete-copy ATTRIBUTE
  4727.                WITH ATTRIBUTE-SYNTAX IncompleteCopyField
  4728.                MATCHES FOR EQUALITY
  4729.                SINGLE VALUE
  4730.                ::= id-hat-incomplete-copy
  4731.                expiry-time; ATTRIBUTE
  4732.                WITH ATTRIBUTE-SYNTAX ExpiryTimeField
  4733.                MATCHES FOR EQUALITY ORDERING
  4734.                  SINGLE VALUE
  4735.                  ::= id-hat-expiry-time
  4736.                varelated-messages ATTRIBUTE
  4737.                WITH ATTRIBUTE-SYNTAX RelatedMessagesReference
  4738.                MATCHES FOR EQUALITY
  4739.                MULTI VALUE
  4740.                ::= id-hat-related-messages
  4741.                vaobsoleted-edims ATTRIBUTE
  4742.                WITH ATTRIBUTE-SYNTAX ObsoletedEDIMsSubfield
  4743.                MATCHES FOR EQUALITY
  4744.                MULTI VALUE
  4745.                ::= id-hat-obsoleted-edims
  4746.                               vaedi-application-security-element ATTRIBUTE
  4747.                WITH ATTRIBUTE-SYNTAX EDIApplicationSecurityElement
  4748.                MATCHES FOR EQUALITY
  4749.                SINGLE VALUE
  4750.                ::= id-hat-edi-application-security-element
  4751.                               vaedi-application-security-extensions ATTRIBUTE
  4752.                WITH ATTRIBUTE-SYNTAX EDIApplicationSecurityExtension
  4753.                MATCHES FOR EQUALITY
  4754.                MULTI VALUE
  4755.                ::= id-hat-edi-application-security-extensions
  4756. vacross-referencing-information                         ATTRIBUTE
  4757.                      WITH ATTRIBUTE-SYNTAX 
  4758.                      CrossReferencingInformationSubField
  4759.                      MATCHES FOR EQUALITY
  4760.                      MULTI VALUE
  4761.                      ::= id-hat-cross-referencing-information
  4762.                      vaedi-message-type ATTRIBUTE
  4763.                      WITH ATTRIBUTE-SYNTAX EDIMessageTypeFieldSubField
  4764.                      MATCHES FOR EQUALITY
  4765.                      MULTI VALUE
  4766.                      ::= id-hat-edi-message-type
  4767.                      vaservice-string-advice ATTRIBUTE
  4768.                      WITH ATTRIBUTE-SYNTAX ServiceStringAdviceField
  4769.                      MATCHES FOR EQUALITY
  4770.                      SINGLE VALUE
  4771.                      ::= id-hat-service-string-advice
  4772.                      vasyntax-identifier ATTRIBUTE
  4773.                      WITH ATTRIBUTE-SYNTAX SyntaxIdentifierField
  4774.                      MATCHES FOR EQUALITY
  4775.                      SINGLE VALUE
  4776.                      ::= id-hat-syntax-identifier
  4777.                      vainterchange-sender ATTRIBUTE
  4778.                      WITH ATTRIBUTE-SYNTAX InterchangeSenderField
  4779.                      MATCHES FOR EQUALITY
  4780.                      SINGLE VALUE
  4781.                      ::= id-hat-interchange-sender
  4782.                                           vadate-and-time-of-preparation ATTRIBUTE
  4783.                      WITH ATTRIBUTE-SYNTAX DateAndTimeOfPreparationField
  4784.                      MATCHES FOR EQUALITY ORDERING
  4785.                      SINGLE VALUE
  4786.                      ::= id-hat-date-and-time-of-preparation
  4787.                      vaapplication-reference ATTRIBUTE
  4788.                         WITH ATTRIBUTE-SYNTAX ApplicationReferenceField
  4789.                         MATCHES FOR EQUALITY SUBSTRINGS
  4790.                         SINGLE VALUE
  4791.                         ::= id-hat-application-reference
  4792.                  vaheading-extensions ATTRIBUTE
  4793.                WITH ATTRIBUTE-SYNTAX HeadingExtensionsSubField
  4794.                MATCHES FOR EQUALITY
  4795.                MULTI VALUE
  4796.                ::= id-hat-heading-extensions
  4797.           -- Recipient Sub-field
  4798.                vathis-recipient ATTRIBUTE
  4799.                WITH ATTRIBUTE-SYNTAX RecipientField
  4800.                MATCHES FOR EQUALITY
  4801.                SINGLE VALUE
  4802.                ::= id-rat-this-recipient
  4803.                               vaaction-request-for-this-recipient ATTRIBUTE
  4804.                WITH ATTRIBUTE-SYNTAX ActionRequestField
  4805.                MATCHES FOR EQUALITY
  4806.                SINGLE VALUE
  4807.                ::= id-rat-action-request-for-this-recipient
  4808.                               vaedi-notification-requests-for-this-recipient ATTRIBUTE
  4809.                WITH ATTRIBUTE-SYNTAX EDINotificationRequests
  4810.                MATCHES FOR EQUALITY
  4811.                SINGLE VALUE
  4812.                ::= id-rat-edi-notification-requests-for-this-recipient
  4813.                               vaedi-notification-security-for-this-recipient ATTRIBUTE
  4814.                WITH ATTRIBUTE-SYNTAX EDINotificationSecurity
  4815.                MATCHES FOR EQUALITY
  4816.                SINGLE VALUE
  4817.                ::= id-rat-edi-notification-security-for-this-recipient
  4818. vaedi-reception-security-for-this-recipient                  ATTRIBUTE
  4819.                WITH ATTRIBUTE-SYNTAX EDIReceptionSecurity
  4820.                MATCHES FOR EQUALITY
  4821.                SINGLE VALUE
  4822.                ::= id-rat-edi-reception-security-for-this-recipient
  4823.                varesponsibility-passing-allowed-for-this- 
  4824.                                   recipient ATTRIBUTE
  4825.                WITH ATTRIBUTE-SYNTAX ResponsibilityPassingAllowedField
  4826.                MATCHES FOR EQUALITY
  4827.                SINGLE VALUE
  4828.                ::= id-rat-responsibility-passing-allowed-for-this- 
  4829.                recipient
  4830.                          -- Fields from EDIFACT interchange
  4831.                          vainterchange-recipient-for-this-recipient ATTRIBUTE
  4832.                WITH ATTRIBUTE-SYNTAX InterchangeRecipientField
  4833.                MATCHES FOR EQUALITY
  4834.                SINGLE VALUE
  4835.                ::= id-rat-interchange-recipient-for-this-recipient
  4836.                               varecipient-reference-for-this-recipient ATTRIBUTE
  4837.                WITH ATTRIBUTE-SYNTAX RecipientReferenceField
  4838.                MATCHES FOR EQUALITY
  4839.                SINGLE VALUE
  4840.                  ::= id-rat-recipient-reference-for-this-recipient
  4841.                vainterchange-control-reference-for-this- 
  4842. recipient                  ATTRIBUTE
  4843.                WITH ATTRIBUTE-SYNTAX InterchangeControlReferenceField
  4844.                MATCHES FOR EQUALITY SUBSTRINGS
  4845.                SINGLE VALUE
  4846.                ::= id-rat-interchange-control-reference-for-this- 
  4847.                recipient
  4848.                               vaprocessing-priority-code-for-this-recipient ATTRIBUTE
  4849.                WITH ATTRIBUTE-SYNTAX ProcessingPriorityCodeField
  4850.                MATCHES FOR EQUALITY
  4851.                SINGLE VALUE
  4852.                ::= id-rat-processing-priority-code-for-this-recipient
  4853.                vaacknowledgement-request-for-this- 
  4854.                  recipient 
  4855.                  ATTRIBUTE
  4856.                WITH ATTRIBUTE-SYNTAX AcknowledgementRequestField
  4857.                MATCHES FOR EQUALITY
  4858.                SINGLE VALUE
  4859.                ::= id-rat-acknowledgement-request-for-this-recipient
  4860.                vacommunications-agreement-id-for-this- 
  4861.                                   recipient ATTRIBUTE
  4862.                WITH ATTRIBUTE-SYNTAX CommunicationsAgreementIdField
  4863.                MATCHES FOR EQUALITY SUBSTRINGS
  4864.                SINGLE VALUE
  4865.                ::= id-rat-communications-agreement-id-for-this- 
  4866.                recipient
  4867.                               vatest-indicator-for-this-recipient ATTRIBUTE
  4868.                WITH ATTRIBUTE-SYNTAX TestIndicatorField
  4869.                MATCHES FOR EQUALITY
  4870.                SINGLE VALUE
  4871.                ::= id-rat-test-indication-for-this-recipient
  4872.           -- END Fields from EDIFACT
  4873.           -- Fields from ANSIX12 ISA
  4874.                vaauthorization-information-for-this- 
  4875. recipient                  
  4876.                  ATTRIBUTE
  4877.                WITH ATTRIBUTE-SYNTAX AuthorizationInformationField
  4878.                MATCHES FOR EQUALITY
  4879.                SINGLE VALUE
  4880.                ::= id-rat-authorization-information-for-this-recipient
  4881.           -- END Fields from ANSIX12 ISA
  4882.                          varecipient-extensions-for-this-recipient ATTRIBUTE
  4883.                WITH ATTRIBUTE-SYNTAX RecipientExtensionsSubField
  4884.                MATCHES FOR EQUALITY
  4885.                MULTI VALUE
  4886.                ::= id-rat-recipient-extensions-for-this-recipient
  4887.           -- Body Attributes
  4888.           -- Body
  4889.                vabody ATTRIBUTE
  4890.                WITH ATTRIBUTE-SYNTAX Body
  4891.                SINGLE VALUE
  4892.                ::= id-bat-body
  4893.           -- Body Analyses
  4894.                vainterchange-length ATTRIBUTE
  4895.                WITH ATTRIBUTE-SYNTAX InterchangeLength
  4896.                MATCHES FOR ORDERING
  4897.                SINGLE VALUE
  4898.                ::= id-bat-interchange-length
  4899.                tyInterchangeLength ::= INTEGER
  4900.           -- Primary Body Parts
  4901. vaedi-body-part                          ATTRIBUTE
  4902.                       WITH ATTRIBUTE-SYNTAX EDIBodyPart
  4903.                       SINGLE VALUE
  4904.                       ::= id-bat-edi-body-part
  4905.                       vaedim-body-part ATTRIBUTE
  4906.                       WITH ATTRIBUTE-SYNTAX SequenceNumber -- sequence number 
  4907.                       of the forwarded EDIM entry.
  4908.                       SINGLE VALUE
  4909.                       ::= id-bat-edim-body-part
  4910.                       vamessage-parameters ATTRIBUTE
  4911.                       WITH ATTRIBUTE-SYNTAX MessageParameters
  4912.                       SINGLE VALUE
  4913.                       ::= id-bat-message-parameters
  4914.                       vamessage-data ATTRIBUTE
  4915.                       WITH ATTRIBUTE-SYNTAX MessageData
  4916.                       SINGLE VALUE
  4917.                       ::= id-bat-message-data
  4918.                -- Externally Defined Body Part Types
  4919.                                      vaexternally-defined-body-part-types ATTRIBUTE
  4920.                       WITH ATTRIBUTE-SYNTAX OBJECT IDENTIFIER
  4921.                       MATCHES FOR EQUALITY
  4922.                       MULTI VALUE
  4923.                       ::= id-bat-externally-defined-body-part-types
  4924.                -- Description of the externally-defined-body-part-types  attribute  syntax
  4925.                for parameter portion only
  4926.                                   tyEDIExternallyDefinedBodyPartParameterAttribute             ::= SEQUENCE {
  4927.                body-part-reference   [0] BodyPartReference OPTIONAL,
  4928.                parameter             [1] ExternallyDefinedParameters }
  4929.           -- Notification Attributes
  4930.           -- Common Fields
  4931.                vasubject-edim ATTRIBUTE
  4932.                WITH ATTRIBUTE-SYNTAX SubjectEDIMField
  4933.                MATCHES FOR EQUALITY
  4934.                SINGLE VALUE
  4935.                ::= id-nat-subject-edim
  4936.                vaedin-originator ATTRIBUTE
  4937.                WITH ATTRIBUTE-SYNTAX EDINOriginatorField
  4938.                MATCHES FOR EQUALITY
  4939.                  SINGLE VALUE
  4940.                  ::= id-nat-edin-originator
  4941.                vafirst-recipient ATTRIBUTE
  4942.                WITH ATTRIBUTE-SYNTAX FirstRecipientField 
  4943.                MATCHES FOR EQUALITY
  4944.                SINGLE VALUE
  4945.                ::= id-nat-first-recipient
  4946.                vanotification-time ATTRIBUTE
  4947.                WITH ATTRIBUTE-SYNTAX NotificationTimeField
  4948.                MATCHES FOR EQUALITY ORDERING
  4949.                SINGLE VALUE
  4950.                ::= id-nat-notification-time
  4951.                                 vanotification-security-elements ATTRIBUTE
  4952.                WITH ATTRIBUTE-SYNTAX SecurityElementsField
  4953.                MATCHES FOR EQUALITY
  4954.                SINGLE VALUE
  4955.                ::= id-nat-notification-security-elements
  4956. vaedin-initiator                  ATTRIBUTE
  4957.                WITH ATTRIBUTE-SYNTAX EDINInitiatorField
  4958.                MATCHES FOR EQUALITY
  4959.                SINGLE VALUE
  4960.                ::= id-nat-edin-initiator
  4961.                vanotification-extensions 
  4962.                  ATTRIBUTE
  4963.                WITH ATTRIBUTE-SYNTAX NotificationExtensionsSubField
  4964.                MATCHES FOR EQUALITY
  4965.                MULTI VALUE
  4966.                ::= id-nat-notification-extensions
  4967.           -- Positive Notification Extension Fields
  4968.                          vapn-supplementary-information ATTRIBUTE
  4969.                WITH ATTRIBUTE-SYNTAX EDISupplementaryInformation
  4970.                MATCHES FOR EQUALITY SUBSTRINGS
  4971.                SINGLE VALUE
  4972.                ::= id-nat-pn-supplementary-info
  4973.                vapn-extensions ATTRIBUTE
  4974.                WITH ATTRIBUTE-SYNTAX PNExtensionsSubField
  4975.                MATCHES FOR EQUALITY
  4976.                MULTI VALUE
  4977.                ::= id-nat-pn-extensions
  4978.           -- Negative Notification Fields
  4979.                vann-reason ATTRIBUTE
  4980.                WITH ATTRIBUTE-SYNTAX NNReasonCodeField
  4981.                MATCHES FOR EQUALITY
  4982.                SINGLE VALUE
  4983.                ::= id-nat-nn-reason-code
  4984. vann-supplementary-information                          ATTRIBUTE
  4985.                       WITH ATTRIBUTE-SYNTAX EDISupplementaryInformation
  4986.                       MATCHES FOR EQUALITY SUBSTRINGS
  4987.                       SINGLE VALUE
  4988.                       ::= id-nat-nn-supplementary-info
  4989.                       vann-extensions ATTRIBUTE
  4990.                          WITH ATTRIBUTE-SYNTAX NNExtensionsSubField
  4991.                          MATCHES FOR EQUALITY
  4992.                          MULTI VALUE
  4993.                          ::= id-nat-nn-extensions
  4994.                -- Forwarded Fields
  4995.                       vaforwarded-to ATTRIBUTE
  4996.                       WITH ATTRIBUTE-SYNTAX ForwardedTo
  4997.                       MATCHES FOR EQUALITY
  4998.                       SINGLE VALUE
  4999.                       ::= id-nat-forwarded-to
  5000.                       vafn-reason-code ATTRIBUTE
  5001.                       WITH ATTRIBUTE-SYNTAX FNReasonCodeField
  5002.                       MATCHES FOR EQUALITY
  5003.                       SINGLE VALUE
  5004.                       ::= id-nat-fn-reason-code
  5005.                                             vafn-supplementary-information ATTRIBUTE
  5006.                       WITH ATTRIBUTE-SYNTAX EDISupplementaryInformation
  5007.                       MATCHES FOR EQUALITY SUBSTRINGS
  5008.                       SINGLE VALUE
  5009.                       ::= id-nat-fn-supplementary-info
  5010.                       vafn-extensions ATTRIBUTE
  5011.                       WITH ATTRIBUTE-SYNTAX FNExtensionsSubField
  5012.                       MATCHES FOR EQUALITY
  5013.                       MULTI VALUE
  5014.                       ::= id-nat-fn-extensions
  5015.                       END -- of EDIMSMessageStoreAttributes
  5016.                                                  ANNEX D
  5017.  
  5018.                        Reference definition of Message Store Auto-Action Attributes
  5019.  
  5020.                        (This annex forms an integral part of this Recommendation.)
  5021.                       This annex, a supplement to Annex C, defines for  reference  purposes
  5022.                the MS attributes specific to EDIM  Messaging  Auto-Actions.  It  uses  the
  5023.                ATTRIBUTE macro of Recommendation X.501.
  5024.                                                          ----------
  5025.                       moEDIMSAutoActionTypes {joint-iso- 
  5026.                       ccitt
  5027.                         mhs-motis(6) edims(7) modules(0) message-store-auto- 
  5028.                       actions(7)}
  5029.                       DEFINITIONS ::=
  5030.                       BEGIN
  5031.                -- Prologue
  5032.                -- Exports everything.
  5033.  
  5034.                       IMPORTS
  5035.                -- EDIMS Object Identifiers
  5036.                       id-act-edi-auto-forward
  5037.                       ----
  5038.                       FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5039.                       object-identifiers(0)}
  5040.  
  5041.                -- EDIMS Information Objects
  5042.                       EDISupplementaryInformation, RecipientField, ActionRequestField
  5043.                       EDINotificationRequestsField, ResponsibilityPassingAllowed
  5044.                       ----
  5045.                       FROM EDIMSInformationObjects {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5046.                       information-objects(2) }
  5047.  
  5048.                -- MS Abstract Service
  5049.                       AUTO-ACTION, Filter
  5050.                       ----
  5051.                       FROM MSAbstractService {joint-iso-ccitt mhs-motis(6) ms(4) modules(0) abstract- 
  5052.                       service(1)}
  5053.  
  5054.                -- MS General Auto Actions
  5055.                       PerMessageAutoForwardFields, PerRecipientAutoForwardFields
  5056.                       ----
  5057.                       FROM MSGeneralAutoActionTypes {joint-iso-ccitt mhs-motis(6) ms(4) modules(0) 
  5058.                       general-auto-action-types(3) }
  5059.                -- MTS Upper Bounds
  5060.                       ub-recipients
  5061.                   ----
  5062.                   FROM MTSUpperBounds {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) upper-bounds(3) 
  5063.                   }
  5064.             -- MTS Abstract Service Definition
  5065.                   ORName
  5066.                   ----
  5067.                   FROM MTSAbstractService {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) mts- 
  5068.                   abstract-service(1) };
  5069.  
  5070.             -- END Imports
  5071.             -- Auto-Action Types
  5072.             -- EDI Auto Forwarding Registration
  5073.                   moedi-auto-forward AUTO-ACTION
  5074.                   REGISTRATION PARAMETER IS 
  5075.                   EDIForwardRegistrationParameter
  5076.                   ::= id-act-edi-auto-forward
  5077.                                     moEDIForwardRegistrationParameter ::= SEQUENCE {
  5078.                   filter                [0] Filter OPTIONAL,
  5079.                   edi-supplementary-info [1] EDISupplementaryInfo 
  5080.                   OPTIONAL,
  5081.                   delete-after-forwarding     [2] BOOLEAN DEFAULT FALSE,
  5082.                   edi-forwarding-mode   CHOICE {
  5083.                     forwarding-with-responsibility-not-accepted   [3] 
  5084.                   ForwardWithRespForwarded,
  5085.                     forwarding-with-responsibility-accepted       [4] 
  5086.                   ForwardWithRespAccepted }
  5087.             Auto Action Registration Parameters for Forwarding with Responsibility  not
  5088.             Accepted
  5089.                                           moForwardWithRespNotAccepted ::= SET {
  5090.                   COMPONENTS OF PerMessageAutoForwardFields, -- from 
  5091.                   envelope PerMessageFields
  5092.                   per-recipient-field   [3] PerRecipientAutoForwardFields,
  5093.                   notification-argument [4] NotificationArguments OPTIONAL 
  5094.                   }
  5095.                   moNotificationArguments ::= SET {
  5096.                   COMPONENTS OF PerMessageAutoForwardFields, -- from 
  5097.                   envelope PerMessageFields
  5098.                   per-recipients-field  [3] SEQUENCE SIZE (1..ub- 
  5099.                   recipients) OF
  5100.                                         PerRecipientAutoForwardFields }
  5101.             Auto Action Registration  Parameters  for  Forwarding  with  Responsibility
  5102.             Accepted
  5103.                  moForwardWithRespAccepted ::= 
  5104.                  SET {
  5105.                COMPONENTS OF PerMessageAutoForwardFields, -- from 
  5106.                envelope PerMessageFields
  5107.                per-recipients-field  [3] SEQUENCE SIZE (1..ub- 
  5108.                recipients) OF
  5109.                                      PerRecipientAutoForwardFields,
  5110.                notification-argument [4] NotificationArguments 
  5111.                OPTIONAL,
  5112.                heading-fields        [5] HeadingFields OPTIONAL }
  5113.                moHeadingFields ::= SEQUENCE {
  5114.                new-edin-receiver-name [0] ORName OPTIONAL,
  5115.                next-recipient        [1] RecipientField,
  5116.                next-recipient-action-request    [2] ActionRequestField 
  5117.                DEFAULT {id-for-action},
  5118.                next-recipient-edi-notification-requests-field  [3] 
  5119.                EDINotificationRequestsField OPTIONAL,
  5120.                next-responsibility-passing-allowed   [4] 
  5121.                ResponsibilityPassingAllowedField DEFAULT FALSE }
  5122.                END -- of EDIMSAutoActionTypes
  5123.                ANNEX E
  5124.  
  5125.                         Reference definition of EDIMS Functional Objects
  5126.  
  5127.                   (This annex forms an integral part of this Recommendation.)
  5128.                This annex defines for reference purposes the functional  objects  of
  5129.           EDI Messaging. It uses the  OBJECT  and  REFINE  macros  of  Recommendation
  5130.           X.407.
  5131.                                                     ----------
  5132.                moEDIMSFunctionalObjects {joint- 
  5133.                iso-ccitt
  5134.                  mhs-motis(6) edims(7) modules(0) functional- 
  5135.                objects(1)}
  5136.                DEFINITIONS IMPLICIT TAGS ::=
  5137.                BEGIN
  5138.           -- Prologue
  5139.           -- Exports everything.
  5140.                IMPORTS
  5141.           -- EDIMS Abstract Service
  5142.                origination, reception
  5143.                ----
  5144.                FROM EDIMSAbstractService {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5145.                abstract-service(3)}
  5146.           -- EDIMS Object Identifiers
  5147.                id-ot-edime, id-ot-edims, id-ot-edi-ms, id-ot-edi-ua,
  5148.                id-ot-edimg-user, id-ot-pdau,
  5149.                id-ref-primary, id-ref-secondary
  5150.                ----
  5151.                FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5152.                object-identifiers(0)}
  5153.           -- MS Abstract Service
  5154.                retrieval
  5155.                ----
  5156.                FROM MSAbstractService {joint-iso-ccitt mhs-motis(6) ms(4) modules(0) abstract- 
  5157.                service(1)}
  5158.           -- MTS Abstract Service
  5159.                administration, delivery, mTS, submission
  5160.                ----
  5161.                FROM MTSAbstractService {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) mts- 
  5162.                abstract-service(1)}
  5163.           -- Abstract service definition conventions
  5164.                OBJECT, REFINE
  5165.                ----
  5166.                FROM AbstractServiceNotation {joint-iso-ccitt mhs-motis(6) asdc(2) modules(0) 
  5167.                notation(1) };
  5168.           -- END imports
  5169.  
  5170.           -- "Root" Object Type
  5171.                vaedime OBJECT ::= id-ot-edime
  5172.           Primary Refinement
  5173.                vaedime-refinement REFINE edime AS
  5174.                edims
  5175.                  origination         [S] PAIRED WITH edimg-user
  5176.                  reception           [S] PAIRED WITH edimg-user
  5177.                edimg-user RECURRING
  5178.                ::= id-ref-primary
  5179.           -- Primary Object Types
  5180.           -- EDI User
  5181.                vaedimg-user OBJECT
  5182.                PORTS {
  5183.                  origination         [C],
  5184.                  reception           [C] }
  5185.                ::= id-ot-edimg-user
  5186.           EDI Messaging System
  5187.                vaedims OBJECT
  5188.                PORTS {
  5189.                  origination         [S],
  5190.                  reception           [S] }
  5191.                ::= id-ot-edims
  5192.           -- Secondary Refinement
  5193.                vaedims-refinement REFINE edims AS
  5194.                mTS
  5195.                  submission          [S] PAIRED WITH edi-ua, edi-ms
  5196.                  delivery            [S] PAIRED WITH edi-ua, edi-ms
  5197.                  administration      [S] PAIRED WITH edi-ua, edi-ms
  5198.                edi-ua RECURRING
  5199.                  origination         [S] VISIBLE
  5200.                  reception           [S] VISIBLE
  5201.                edi-ms RECURRING
  5202.                  submission          [S] PAIRED WITH edi-ua
  5203.                  retrieval           [S] PAIRED WITH edi-ua
  5204.                  administration      [S] PAIRED WITH edi-ua
  5205.                pdau RECURRING
  5206.                  reception           [S] VISIBLE
  5207.                ::= id-ref-secondary
  5208.           -- Secondary Object Types
  5209.           -- EDI User Agent
  5210.                vaedi-ua OBJECT
  5211.                PORTS {
  5212.                  origination         [S],
  5213.                  reception           [S],
  5214.                  submission          [C],
  5215.                  delivery            [C],
  5216.                  retrieval           [C],
  5217.                  administration      [C] }
  5218.                ::= id-ot-edi-ua
  5219.           -- EDI Message Store
  5220.                vaedi-ms OBJECT
  5221.                PORTS {
  5222.                  submission          [S],
  5223.                  retrieval           [S],
  5224.                  administration      [S],
  5225.                  submission          [C],
  5226.                  delivery            [C],
  5227.                  administration      [C] }
  5228.                ::= id-ot-edi-ms
  5229.           -- Physical Delivery Access Unit
  5230. vapdau                  OBJECT
  5231.                PORTS {
  5232.                  reception           [S] }
  5233.                ::= id-ot-pdau
  5234.                END -- of EDIMSFunctionalObjects
  5235.                                             ANNEX F
  5236.  
  5237.                          Reference definition of EDIMS Abstract Service
  5238.  
  5239.                   (This annex forms an integral part of this Recommendation.)
  5240.                This annex defines for reference purposes the EDIMS Abstract Service.
  5241.           It uses the  PORT  and  ABSTRACT-OPERATION  and  ABSTRACT-ERROR  macros  of
  5242.           Recommendation X.407.
  5243.                                                     ----------
  5244.                moEDIMSAbstractService {joint-iso- 
  5245.                ccitt
  5246.                  mhs-motis(6) edims(7) modules(0) abstract-service(3)}
  5247.                DEFINITIONS IMPLICIT TAGS ::=
  5248.                BEGIN
  5249.           -- Prologue
  5250.           -- Exports everything.
  5251.                IMPORTS
  5252.           -- EDIMS Information Objects
  5253.                Heading, EDIM, EDIN, InformationObject
  5254.                   ----
  5255.                FROM EDIMSInformationObjects {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5256.                information-objects(2) }
  5257.           -- EDIMS Object Identifiers
  5258.                id-pt-origination, id-pt-reception
  5259.                ----
  5260.                FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5261.                object-identifiers(0) }
  5262.           -- MTS Abstract Service
  5263.                MessageDeliveryEnvelope, MessageSubmissionEnvelope,
  5264.                MessageSubmissionIdentifier, MessageSubmissionTime,
  5265.                ProbeSubmissionEnvelope, ProbeSubmissionIdentifier,
  5266.                ProbeSubmissionTime, RecipientImproperlySpecified,
  5267.                ReportDeliveryEnvelope
  5268.                ----
  5269.                FROM MTSAbstractService {joint-iso-ccitt mhs-motis(6) mts(3) modules(0) mts- 
  5270.                abstract-service(1) }
  5271.           -- Abstract service definition conventions
  5272.                ABSTRACT-ERROR, ABSTRACT-OPERATION, PORT
  5273.                ----
  5274.                FROM AbstractServiceNotation {joint-iso-ccitt mhs-motis(6) asdc(2) modules(0) 
  5275.                notation(1) };
  5276.           -- Primary Port Types
  5277.           -- Origination
  5278.                vaorigination PORT
  5279.                CONSUMER INVOKES {
  5280.                  OriginateProbe,
  5281.                  OriginateEDIM,
  5282.                  OriginateEDIN }
  5283.                  ::= id-pt-origination
  5284.           -- Reception
  5285.                vareception PORT
  5286.                SUPPLIER INVOKES {
  5287.                  ReceiveReport,
  5288.                  ReceiveEDIM,
  5289.                  ReceiveEDIN }
  5290.                  ::= id-pt-reception
  5291.           -- ABSTRACT OPERATIONS
  5292.           -- Origination Abstract Operations
  5293.           -- Originate Probe
  5294.           tyOriginatePro                  ::=                  ABSTRACT-
  5295.           OPERATION
  5296.                  ARGUMENT SET {
  5297.                    envelope            [0] ProbeSubmissionEnvelope,
  5298.                    content             [1] EDIM }
  5299.                  RESULT SET {
  5300.                    submission-identifier     [0] 
  5301.                  ProbeSubmissionIdentifier,
  5302.                    submission-time     [1] ProbeSubmissionTime }
  5303.                  ERRORS { RecipientImproperlySpecified }
  5304.           -- Originate EDIM
  5305.                tyOriginateEDIM ::= ABSTRACT-OPERATION
  5306.                ARGUMENT SET {
  5307.                  envelope            [0] MessageSubmissionEnvelope,
  5308.                  content             [1] EDIM }
  5309.                RESULT SET {
  5310.                  submission-identifier     [0] 
  5311.                MessageSubmissionIdentifier,
  5312.                  submission-time     [1] MessageSubmissionTime }
  5313.                ERRORS { RecipientImproperlySpecified }
  5314.           -- Originate EDIN
  5315.                tyOriginateEDIN ::= ABSTRACT-OPERATION
  5316.                ARGUMENT SET {
  5317.                  envelope            [0] MessageSubmissionEnvelope,
  5318.                  content             [1] EDIN }
  5319.                RESULT SET {
  5320.                  submission-identifier     [0] 
  5321.                MessageSubmissionIdentifier,
  5322.                  submission-time     [1] MessageSubmissionTime }
  5323.                ERRORS { RecipientImproperlySpecified }
  5324.           -- Reception Abstract Operations
  5325.           -- Receive Report
  5326.                tyReceiveReport ::= ABSTRACT-OPERATION
  5327.                ARGUMENT SET {
  5328.                  envelope            [0] ReportDeliveryEnvelope,
  5329.                  undelivered-object  [1] InformationObject OPTIONAL }
  5330.                RESULT
  5331.                ERRORS {}
  5332.           -- Receive EDIM
  5333.                tyReceiveEDIM ::= ABSTRACT-OPERATION
  5334.                ARGUMENT SET {
  5335.                  envelope            [0] MessageDeliveryEnvelope,
  5336.                  content             [1] EDIM }
  5337.                RESULT
  5338.                ERRORS {}
  5339.           -- Receive EDIN
  5340.                tyReceiveEDIN ::= ABSTRACT-OPERATION
  5341.                ARGUMENT SET {
  5342.                  envelope            [0] MessageDeliveryEnvelope,
  5343.                  content             [1] EDIN }
  5344.                RESULT
  5345.                ERRORS {}
  5346.                END -- of EDIMSAbstractService
  5347.                                             ANNEX G
  5348.  
  5349.                      Reference definition of EDIMS Upper Bounds Parameters
  5350.  
  5351.                   (This annex forms an integral part of this Recommendation.)
  5352.                This annex defines for reference purposes the upper bounds of various
  5353.           variable-length information items whose abstract syntaxes  are  defined  in
  5354.           the ASN.1 modules of prior annexes.
  5355.                                                     ----------
  5356.                moEDIMSUpperBounds { joint-iso-ccitt
  5357.                  mhs-motis(6) edims(7) modules(0) upper-bounds(5) }
  5358.                DEFINITIONS ::=
  5359.                BEGIN
  5360.           -- Prologue
  5361.           -- Exports everything.
  5362.                IMPORTS -- nothing -- ;
  5363.           -- Upper bounds
  5364. ubub-application-reference                  
  5365.                INTEGER ::= 14
  5366.                               ubub-authorization-information             INTEGER ::= 10
  5367.                               ubub-authorization-information-qualifier     INTEGER ::= 2
  5368.                               ubub-communications-agreement-id            INTEGER ::= 35
  5369.                               ubub-edi-association-assigned-code           INTEGER ::= 6
  5370. ubub-edi-application-security-elements                   INTEGER ::= 8191
  5371.                   ubub-edi-controlling-agency 
  5372.                   INTEGER ::= 2
  5373.                   ubub-edi-document-release     
  5374.                   INTEGER ::= 3
  5375.                   ubub-edi-document-version     
  5376.                   INTEGER ::= 3
  5377.                   ubub-edi-message-type   INTEGER ::= 
  5378.                   6
  5379.                                     ubub-identification-code-qualifier          INTEGER ::= 4
  5380.                   : 
  5381.                   ::= 35
  5382.                   ubub-interchange-control-referenceub:ub-interchange- 
  5383.                   control-reference       INTEGER ::= 14
  5384.                   ubub-local-referenceub:ub-local-reference     INTEGER ::= 
  5385.                   64
  5386.                   ubub-processing-priority-codeub:ub-processing-priority- 
  5387.                   code                    INTEGER ::= 1
  5388.                   ubub-reason-codeub:ub-reason-code   INTEGER ::= 32767
  5389.                   ubub-recipient-reference-qualifierub:ub-recipient- 
  5390.                   reference-qualifier     INTEGER ::= 2
  5391.                   ubub-recipient-referenceub:ub-recipient-reference  INTEGER 
  5392.                   ::= 14
  5393.                   ubub-routing-addressub:ub-routing-address     INTEGER ::= 
  5394.                   14
  5395.                   ubub-syntax-identifierub:ub-syntax-identifier INTEGER ::= 
  5396.                   4
  5397.                   ubub-syntax-versionub:ub-syntax-version  INTEGER ::= 5
  5398.                   END -- of EDIMSUpperBounds
  5399.                                         ANNEX H
  5400.  
  5401.             Reference definition of Directory Object Classes and Attributes
  5402.  
  5403.               (This annex forms an integral part of this Recommendation.)
  5404.                   This annex  defines for reference purposes the object identifiers, 
  5405.             object classes, attributes, and attribute syntaxes specific to EDI use of 
  5406.             Directory. It uses the OBJECT-CLASS, ATTRIBUTE, and ATTRIBUTE-SYNTAX macros 
  5407.             of Recommendation X.501.  Annex J contains a discussion and description of 
  5408.             the objects defined here.
  5409.                                        ---------
  5410.                   moEDIUseOfDirectorymo:EDIUseOfDirectory   {joint-iso-ccitt 
  5411.                        mhs-motis(6) edims(7) modules(0) edi-directory-cl- 
  5412.                   att(6) }
  5413.                   DEFINITIONS IMPLICIT TAGS  ::=
  5414.                   BEGIN
  5415.  
  5416.             -- Prologue
  5417.             -- Exports everything
  5418.                   IMPORTS
  5419.             -- EDIMS Object Identifiers
  5420.                   id-dir
  5421.                   ----
  5422.                   FROM EDIMSObjectIdentifiers {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5423.                   object-identifiers(0) }
  5424.             -- EDIMS Information Objects
  5425.                   EDIBodypartType, EDIMesssageTypeFieldSubField, SyntaxIdentifier, SyntaxVersion 
  5426.                   ----
  5427.                   FROM EDIMSAbstractService { joint-iso-ccitt mhs-motis(6) edims(7) modules(0) 
  5428.                   information-objects(2) }
  5429.             -- EDIMS Upper bounds
  5430.                   ub-edi-association-assigned-code, ub-edi-controlling-agency,
  5431.                   ub-edi-document-release, ub-edi-document-version
  5432.                   ----
  5433.                   FROM EDIMSUpperBounds {joint-iso-ccitt mhs-motis(6) edims(7) modules(0) upper- 
  5434.                   bounds(5) }
  5435.             -- MHS Directory Object Classes and Attributes
  5436.                   mhs-user, mhs-user-agent, mhs-message-store
  5437.                   ----
  5438.                   FROM MHSDirectoryObjectAndAttributes {joint-iso-ccitt mhs-motis(6) arch(5) 
  5439.                   modules(0) directrory(1) }
  5440.             -- Information Framework
  5441.                   ATTRIBUTE, ATTRIBUTE-SYNTAX, OBJECT-CLASS
  5442.                   ----
  5443.                   FROM  InformationFramework { joint-iso-ccitt ds(5) modules(1) 
  5444.                   informationFramework(1) }
  5445.             -- Selected Object Classes
  5446.                   applicationEntity, top
  5447.                   ----
  5448.                   FROM SelectedObjecClasses {joint-iso-ccitt ds(5) modules(1) 
  5449.                   selectedObjectClasses(6) }
  5450.            -- Selected Attribute Types and Syntaxes
  5451.                caseExactStringSyntax
  5452.                ----
  5453.                FROM SelectedAttributeTypes {joint-iso-ccitt ds(5) modules(1) 
  5454.                selectedAttributeTypes(5) };
  5455.           -- END Imports
  5456.  
  5457.  
  5458.           -- OBJECT IDENTIFIER ASSIGNMENTS FOR USE OF DIRECTORY
  5459.           -- Categories
  5460.                idid-doc             ID ::=  {id-dir  0}  -- directory 
  5461.                object classes
  5462.                idid-dat             ID ::=  {id-dir  1}  -- directory 
  5463.                attribute types
  5464.                idid-das             ID ::=  {id-dir  2}  -- directory 
  5465.                attribute syntaxes
  5466.           -- Directory Object Classes
  5467.                idid-doc-edi-user   ID ::= {id-doc 0}
  5468.                idid-doc-edi-user-agent       ID ::= 
  5469.                {id-doc 1}
  5470.                idid-doc-edi-message-store      ID 
  5471.                ::= {id-doc 2}
  5472.           -- Directory Attribute Types
  5473.                idid-dat-edi-name  ID ::= {id-dat 0}
  5474.                idid-dat-edi-routing-address     
  5475.                ID ::= {id-dat 1}
  5476.                idid-dat-edi-capabilities ID ::= 
  5477.                {id-dat 2}
  5478.           -- Directory Attribute Syntaxes
  5479. idid-das-edi-capabilities                       ID ::= {id-das 0}
  5480.                -- END Object Identifier Assignments
  5481.  
  5482.                -- Object Classes for EDI Use of Directory
  5483.                -- EDI User
  5484.                       vaedi-user OBJECT CLASS
  5485.                       SUBCLASS OF top
  5486.                       MUST CONTAIN {edi-name}
  5487.                       MAY CONTAIN {edi-routing-address, edi-capabilities}
  5488.                       ::=  id-doc-edi-user
  5489.                -- EDI User Agent
  5490.                       vaedi-user-agent OBJECT-CLASS
  5491.                       SUBCLASS OF  mhs-user-agent
  5492.                       MAY CONTAIN  {edi-capabilities}
  5493.                       ::=  id-doc-edi-user-agent
  5494.                -- EDI Message Store
  5495.                       vaedi-message-store OBJECT-CLASS
  5496.                       SUBCLASS OF  mhs-message-store
  5497.                       MAY CONTAIN  {edi-capabilities}
  5498.                       ::=  id-doc-edi-message-store
  5499.                -- ATTRIBUTES
  5500.                -- EDI Name
  5501.                vaedi-name ATTRIBUTE
  5502.                          WITH ATTRIBUTE-SYNTAX  caseExactStringSyntax
  5503.                          SINGLE VALUE
  5504.                          ::=  id-dat-edi-name 
  5505.  
  5506.                            -- The edi-name shall be one of the following:
  5507.                            --      *  a name assigned by an EDI naming 
  5508.                          authority, e.g.  the Sender-ID or the Receiver-ID,
  5509.                            --      *  a name assigned by the EDI user's 
  5510.                          organization.
  5511.                -- EDI Routing Address 
  5512. vaedi-routing-address                  ATTRIBUTE
  5513.                WITH ATTRIBUTE-SYNTAX  caseExactStringSyntax
  5514.                SINGLE VALUE
  5515.                ::=  id-dat-edi-routing-address
  5516.  
  5517.                  --  The term edi-routing-address reflects its 
  5518.                derivation from a data element in the
  5519.                  --  EDI Interchange with the same name.
  5520.           -- EDI Capabilities
  5521.                vaedi-capabilities ATTRIBUTE
  5522.                WITH ATTRIBUTE-SYNTAX edi-capabilities-syntax
  5523.                MULTI VALUE
  5524.                ::=  id-dat-edi-capabilities
  5525.  
  5526.           -- ATTRIBUTE SYNTAXES
  5527.           -- EDI Capabilities Syntax
  5528.                vaedi-capabilities-syntax ATTRIBUTE-SYNTAX
  5529.                EDIUserCapability
  5530.                MATCHES FOR EQUALITY
  5531.                ::=  id-das-edi-capabilities
  5532.                tyEDIUserCapability ::=  SEQUENCE {
  5533.                edi-bodypart-type     [0] EDIBodypartType OPTIONAL
  5534.                edi-processable-document    [1] EDIProcessableDocument 
  5535.                OPTIONAL }
  5536.                tyEDIProcessableDocument ::= SEQUENCE 
  5537.                {
  5538.                standardVersion       [0] SyntaxVersion OPTIONAL,
  5539.                standardSyntaxId      [1] SyntaxIdentifier OPTIONAL,
  5540.                documentType          [2] EDIMessageTypeFieldSubField 
  5541.                OPTIONAL,
  5542.                documentVersion       [3] DocumentVersion OPTIONAL,
  5543.                documentRelease       [4] DocumentRelease  OPTIONAL,
  5544.                controllingAgency     [5] ControllingAgency  OPTIONAL,
  5545.                associationAssignedCode     [6] AssociationAssignedCode 
  5546.                OPTIONAL }
  5547.                vaAssociationAssignedCode   ::= 
  5548.                T61String (SIZE(1..ub-edi-association-assigned-code))
  5549. vaControllingAgency                       ::= T61String 
  5550.                     (SIZE(1..ub-edi-controlling-agency))
  5551.                   (SIZE(1..u 
  5552.                     (SIZE(1..ub-edi-document-release))
  5553.                   vaDocumentVersionva:DocumentVersion ::= NumericString 
  5554.                     (SIZE(1..ub-edi-document-version))
  5555.                   END -- EDIMUseOfDirectory module
  5556.                                         ANNEX I
  5557.  
  5558.                                 Enhanced Security Model
  5559.  
  5560.               (This annex forms an integral part of this Recommendation.)
  5561.             I.1   Introduction
  5562.                   This annex describes the enhancements required to the security model 
  5563.             defined in Recommendation X.402.
  5564.             I.2   Security Services
  5565.                   The additional security services and pervasive mechanisms described 
  5566.             in Recommendation F.435 require the security model defined in 10 of 
  5567.             Recommendation X.402 to be enhanced with the following security services:
  5568.                   -     Non-repudiation/Proof of Reception;
  5569.                   -     Non-repudiation/Proof of Retrieval;
  5570.                   -     Non-repudiation/Proof of Transfer;
  5571.                   -     Non-repudiation of Content.
  5572.             I.3   Enhancements to Clause 10.2: Security Services
  5573.             I.3.1 Changes to Recommendation X.402
  5574.                   Changes to Table 7 of Recommendation X.402 are shown in Table I.1. 
  5575.             Two new classes of services are added; these are EDIM Responsibility 
  5576.             Authentication and Non-repudiation of EDIM Responsibility.
  5577.             I.3.2 EDIM Responsibility authentication services
  5578.             I.3.2.1     Proof of EDI Notification
  5579.                   This security service enables the originator of a message  to  obtain
  5580.             corroboration that his message has been received, and  EDIM  Responsibility
  5581.             has been accepted, forwarded, or refused.
  5582.                   This service may be provided by using the Content Integrity check  on
  5583.             message submission applied to the EDI Notification of the subject EDIM.
  5584.             I.3.2.2     Proof of retrieval
  5585.                   This  security  service  enables  the  MS  administrator  to   obtain
  5586.             corroboration that a particular message has been retrieved from the  EDI-MS
  5587.             by the EDI-UA.
  5588.                   Implementation of this security service is a local issue.  Additional
  5589.             pervasive mechanisms described in  Recommendation  F.435  may  be  used  to
  5590.             provide this service.
  5591.             I.3.2.3     Proof of transfer
  5592.                   This security service enables an MTA or an MD to obtain corroboration
  5593.             that a message has  been  transferred  (relayed)  to  another  MTA  or  MD.
  5594.             Implementation of this security  service  is  a  local  issue.   Additional
  5595.             pervasive mechanisms described in  Recommendation  F.435  may  be  used  to
  5596.             provide this service.
  5597.             I.4   Non-repudiation of EDIM Responsibility services
  5598.             I.4.1 Non-repudiation of EDI Notification
  5599.                   This security service provides  the  Originator  of  a  message  with
  5600.             irrevocable  proof  that  the  message  has   been   received,   and   EDIM
  5601.             Responsibility has been accepted, forwarded, or refused.
  5602.             I.4.2 Non-repudiation of retrieval
  5603.                   This security service provides the EDI-MS administrator and t e  EDI-
  5604.             UA with irrevocable proof that a message has been retrieved from the EDI-MS
  5605.             by the EDI-UA. Implementation of this security service is  a  local  issue.
  5606.             Additional pervasive mechanisms described in Recommendation  F.435  may  be
  5607.             used to provide this service.
  5608.             I.4.3 Non-repudiation of transfer
  5609.                   This security service provides an MTA or an MD with irrevocable proof
  5610.             that a message has  been  transferred  (relayed)  to  another  MTA  or  MD.
  5611.             Implementation of this security  service  is  a  local  issue.   Additional
  5612.             pervasive mechanisms described in  Recommendation  F.435  may  be  used  to
  5613.             provide this service.
  5614.             I.4.4 Non-repudiation of Content
  5615.                   This security service provides an EDIMG user with  irrevocable  proof
  5616.             of the authenticity and integrity of the content of the message.
  5617.                   This security service may be  provided  in  two  ways:  (1)  using  a
  5618.             Notarisation Mechanism, or (2) using the Non-repudiation of Origin security
  5619.             service applied to the subject message and  the  EDI  Notification  of  the
  5620.             subject message, provided the EDI Notification includes  irrevocable  proof
  5621.             of the content of the subject message.
  5622.